Storing values in the mode for disabled controls

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Storing values in the mode for disabled controls

rovsh
Hello,

We noticed that when a field is marked as disabled, the value stored in it, is later stored in the model.
For example, in the form we can have Yes/No field, and depending on the selected value, some input field maybe enabled or disabled. However, what if field was previously enabled and the value was entered, but later made disabled. The value in input field remains and later is stored in the XML model.

Is it possible to make disabled input field in Orbeon not to store the value in the model?

Thanks in advance.

-Rovsh
Reply | Threaded
Open this post in threaded view
|

Re: Storing values in the mode for disabled controls

Erik Bruchez
Administrator
Rovsh,

Currently not. We have an RFE to track this issue:

   https://github.com/orbeon/orbeon-forms/issues/1179

I just updated it to reflect the current thinking.

-Erik