Skip to content Skip to sidebar Skip to footer

Readonly Field Behaviour In Orbeon Forms

We have an issue with the field readonly behaviour in Orbeon Forms. We usually write conditions in the bind definitions to tell when a field should be readonly, so when the conditi

Solution 1:

At this point, as you noticed, Orbeon Forms generates disabled="disabled" on read-only form fields, not readonly="readonly", and this cannot be changed without changing Orbeon Forms.

A possible solution to your problem is to use the static appearance for read-only controls, which just shows the values of fields, in a way similar to what an xf:output would do, rather than the read-only form field. This is typically useful for very easily creating review pages, where you show users all the values they entered before submitting them.

Post a Comment for "Readonly Field Behaviour In Orbeon Forms"