Copy link to clipboard
Copied
I would like to set up conditional formatting to make it to where a certain field cannot be written in on a digital form unless a specific option is selected from a radio button group.
Form example image. When the person filling the form selects "other", only then should they be allowed to enter text into the text field to the right. If they don't select "other", then they should not be able to enter text. How do i make this happen, if it is a posiblity at all?
Copy link to clipboard
Copied
Use this as custom calculation script of text field and change "Radio button name" with the actual name of your radio buttons:
event.target.readonly = this.getField("Radio button name").valueAsString == "other" ? false : true;