Loosing readonly bindings after toggle xforms:switch
Posted by Karolin Heiss on
URL: https://discuss.orbeon.com/Loosing-readonly-bindings-after-toggle-xforms-switch-tp3016097.html
Hello all
Uff, what's going on here....
My input fields loose their read-only binding after I switch xforms:cases.
Some fields should appear to be read-only:
<xf:bind nodeset="FirstName" readonly="true()" />
The corresponding field is read-only as long as a trigger event toggle the next case.
<xf:trigger>
<xf:label>Toggle Next</xf:label>
<xf:action ev:event="DOMActivate">
<xf:toggle case="next" ev:event="DOMActivate" />
</xf:action>
</xf:trigger>
Thank you very much for a hint what to do,
Karolin