AnsweredAssumed Answered

Setting 'readOnly':true on a form field definition

Question asked by bbob1 on Jun 2, 2016
Latest reply on Jun 3, 2016 by jbarrez
I'm using the Form designer in Activiti Enterprise 1.4.3. I would like to set the existing "readOnly" property on the form definition ("readOnly": true ) when adding a “Multiline Text” field to a form. In this case, the form will be rendered outside of Activiti. The use case requires the ability to toggle the readonly functionality on/off in the UI which requires a field that can support editing. Using the provided "Display value" field type (in the Forms designer) to render the field as strictly read only is not acceptable.

I do not see how to set the readOnly property in 1.4.3 version of the Forms designer. I could set it "manually" as a work around. How would I accomplish this in a way that is preserved when using the Forms designer. i.e. not overriden by round-tripping in the Forms designer?