Re: [Xsltforms-support] Click on a read-only input field
Brought to you by:
alain-couthures
From: Dhiradj B. <dh...@gm...> - 2010-05-26 08:57:20
|
Here is an example of the HTML for an input-field that has been set to read-only. Actually it gets the HTML property 'disabled' instead of 'read-only'. I think this also depends on which browser you use. I use Firefox. Right now, we have a workaround. We've made some modifications to the javascript to accomplish that the property 'read-only' is set. <span id="xf-input-1" class="activiteita xforms-control xforms-input xforms-appearance xforms-optional xforms-enabled xforms-readonly xforms-valid "><span><span><span class="focus"> </span>< span><label id="xf-label-1" class="xforms-label">Activiteit:</label></span><span class="value"><input type="text" class="xforms-value" *disabled=""*/></span><span><span class="xforms-required-icon">*</span><span class="xforms-alert"><span class="xforms-alert-icon"> </span></span></span></span></span></span> |