I have a radio button with A, B and C values. On drop down change, I would like to remove C value. How do I do this using Javascript in Forms?
Question
Question
Replies
This might cause some issues when you are looking at the data. Since you are using two different radio buttons, if a user filling out the form selects A on RadioABC, that would be different than a user who selects A on RadioAB. If you are using reports or the monitor page, it wouldn't think those two A choices were the same.
I would either load the radio button choices from a lookup that only returned A and B when the drop down was set to something specific, or go with the JS method of hiding C like you asked about.
It might be easier to do this with Field Rules rather than JavaScript.
Create two Radio Button areas: one with A, B, C and another with A, B.
In Field Rules, set two rules: one to show the A, B and another to hide the A, B, C:
You can add additional Field Rules to show/hide either Radio Button area based on the Drop-down option selected.
Thanks
Thanks. How do you add lookup rule to radio buttons? My radio buttons do not show up in fill part in lookup rule