PerfectForms Forums » General

Fields in group not set to read only when group is set to read-only

(4 posts)
  1. jimmyc
    Member

    Maybe, I am doing this wrong but when I set a group that contains a bunch of fields to read-only, I can still edit all the fields in that group. When I set the group to hidden or disabled, that works as expected. Is this expected behavior or a bug?

    Posted 1 year ago #
  2. ijobling
    Member

    Could be expected if you haven't set it correctly and there are other controls involved overriding the 'group' level behaviour. but what you have done on the 'group'.. just add in the specific elements in the group as well to the SetState script

    Posted 1 year ago #
  3. jimmyc
    Member

    Each of the objects inside of the group have their states set to default. No behaviors alter their state. Setting the group's state to hidden or disabled makes the entire group hidden or disabled, but setting it to read-only is not affecting any of the fields in the group. I'm not actually using the Set State object command. These fields need to stay read-only throughout the life of the form so I am setting in the properties section for the group.

    Posted 1 year ago #
  4. ijobling
    Member

    See what you mean now ;) this is 'expected' (although does make me think it isn't correct behaviour so will raise it with the developers). But just select each item in the group and set their state to read only to get the behaviour you want

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture