Copy link to clipboard
Copied
When the Use custom list radio button is selected I would like the 2 groups below it to become required fields. Group 1 will have one of the two radio buttons selected and the same with Group 2. Is this possible?
OK, so here's how I would do it. Create a (hidden) text field with the following custom calculation script:
this.getField("Radio Button 4").required = (this.getField("Radio Button 3").valueAsString=="Choice3");
this.getField("Radio Button 5").required = (this.getField("Radio Button 3").valueAsString=="Choice3");
Copy link to clipboard
Copied
What's the field name and "Radio button choice" value of the first radio-button?
Copy link to clipboard
Copied
Is this what you need?
Copy link to clipboard
Copied
That's the field names, but what's the export value of the third one in "Radio Button 3"? You'll find it under the field's Properties - Options tab.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
OK, so here's how I would do it. Create a (hidden) text field with the following custom calculation script:
this.getField("Radio Button 4").required = (this.getField("Radio Button 3").valueAsString=="Choice3");
this.getField("Radio Button 5").required = (this.getField("Radio Button 3").valueAsString=="Choice3");
Copy link to clipboard
Copied
Once again, works perfectly. Thank you!