Q. I want to select (prime) a certain Radio Option from a group if a certain Check Box is ticked. It can remain selected if the Check Box is un-ticked.
I thought this would be an easy task but it is really testing me.
the optionbox use a certain variable, for example -> locption BYTE , every radio has an value.
In accepted-embed of checkbox (use variable loc:check BYTE), you can set this variable:
IF loc:check then !checkbox is ticked
locption = 1 !radio-option value 1
ELSE !checkbox is unticked
locption = 2 !radio-option value 2
END
DISPLAY()
Thank you very much cagiv. I have it working now however if its any help to anyone else further to my question I found that if the check box was unticked, another Radio option selected, then the check box ticked again SELECT() was useful. ie.
IF loc:check then !checkbox is ticked
locption = 1 !radio-option value 1
SELECT(?Radio1)
ELSE !checkbox is unticked
locption = 2 !radio-option value 2
SELECT(?Radio2)
END
DISPLAY()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.