Copy link to clipboard
Copied
I need help, I was hoping to have a checkbox if checked to give a radio button group a value. And if unchecked it would set that radio button group back to no value selected.
Is this possible?
Thanks,
Jay
Use this as Mouse Up action of checkbox:
if( event.target.value != "Off")
this.getField("emergency").value = "1";
else
this.resetForm(["emergency"]);
Copy link to clipboard
Copied
Yes, it's possible.
What are radio button name and is there more than one radio button in a group, if yes which one do you want to check with checkbox?
Copy link to clipboard
Copied
The radio button group is named emergency. Yes, there is more than one button, the button I want to be selected value is 1.
Thanks for any assistance you can give.
Copy link to clipboard
Copied
Use this as Mouse Up action of checkbox:
if( event.target.value != "Off")
this.getField("emergency").value = "1";
else
this.resetForm(["emergency"]);
Copy link to clipboard
Copied
Thank you for the help; that work great.