Hi,
I have an instance (custom-fields) that is populated with value 'xxxxx...' on click of button A and with value 'yyyyy....' on click of button B. Both the values 'xxxxx...' and 'yyyyy...' are html.
This instance is referenced by 2 <xforms:textarea> as follows
<!-- lets call this textarea 1 -->
<xforms:textarea mediatype="text/html" ref="instance('custom- fields')" >
<xforms:label>Specify the header information on the form</xforms:label>
</xforms:textarea>
<!-- lets call this textarea 2 -->
<xforms:textarea ref="instance('custom-fields')" xxforms:cols="50" xxforms:rows="20">
<xforms:label>HTML</xforms:label>
</xforms:textarea>
The only difference is the mediatype attribute on the first text area.
The behavior that I'm observingOn click of Button A, textarea 1 and 2 are loaded fine and both point to content 'xxxxx...'
On click of button B, textarea 1 points to the old content ('xxxxx...')while textarea 2 points to the new content ('yyyyy...')
I'm totally lost on this. Can anyone help me on this (please find the snapshot
textarea inconsistency.jpg attached).
regards
--SD