Copy link to clipboard
Copied
Hi all,
I have an issue which eludes me - I have two Radio Buttons (Field Name "Group1") with options set to either "Choice 1" or "Choice 2" respectively. I have another field called "Multi" which in either case of Radio Button selection (Choice 1 or 2 being made), I would like to make the "Multi" field hidden, and if the form is then reset, the field ("Multi") should then be visible again.
I can get one or other choice made to work, but upon reset of the form, the field "Multi" remains hidden....any assistance greatly appreciated.
As calculation script of "Multi" field add this:
event.target.display = this.getField("Group1").value == "Off" ? display.visible : display.hidden;
Copy link to clipboard
Copied
As calculation script of "Multi" field add this:
event.target.display = this.getField("Group1").value == "Off" ? display.visible : display.hidden;
Copy link to clipboard
Copied
Thanks again Nesa! I was pre-occupied with using the "Choice1" or "Choice2" options to trigger the display, and it's not - it's on the "Off" - Duh! 😉