Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to remove readyOnly attribute?

    I have the following code for setting readOnly to true value, but how can I disable the readyOnly property. I have tried to set field.setAttribute("readOnly",false), however, it has not work. Why and how? Thank you for all ans. of that!

    for (FormItem field : Form_master.getFields()) {
    field.setAttribute("readOnly",true);
    }

    #2
    Any Ideas?

    Comment


      #3
      That property is used by the datasource fields to determine the type of field to render on the form. It cannot be reversed dynamically. Use enable/disable instead.

      Comment

      Working...
      X