Select to view content in your preferred language

Readonly rule if values are not null related to a repetition

102
1
11-05-2024 11:39 PM
GDS
by
Emerging Contributor

Hi everyone,
I have a form containing a layer and a repeat table. At the beginning of the form, the user has the choice between filling in the questions related to the layer (inventory) or directly to the questions related to the repetition table (discovery). What I'd like to do is, if the person has answered the discovery questions directly, during a 2nd rehearsal, to be able to fill in the inventory questions. And conversely, if the person has begun by filling in the inventory questions, that during a rehearsal, the latter be read-only.

Thanks for the help

0 Kudos
1 Reply
abureaux
MVP Frequent Contributor

the latter be read-only.

This is doable. The readonly column accepts formulas, which I use often.

For example, here I am using URL parameters (i.e., ${launch_type}) to determine if a field should be read only. If ${launch_type} is "Link", then I make all the fields that reference ${launch_l_yes} into read only fields.

abureaux_0-1730915014166.png

abureaux_1-1730915072106.png

0 Kudos