Hide radio buttons if 'related field' is not displayed
Posted: Wed Jun 12, 2013 10:03 am
I have converted a Yes/No 1a field to a radio button. I have added a RadioButton widget and linked this to the first field using it's id in the related field box. This is all working fine. Field one is conditional and only displays when the answer to the previous question on screen is Yes. I now have the scenario where by my new RadioButton1 is always displaying even if it's related field is not. How can I hide this? is there a way it can be hidden since it is related to the conditional field?
I cannot see any properties on the containing <div> which I can access to control the hide.
Is the 'user defined data' property any help here? I can't seem to find any examples of what this can be used for.
As we will have this scenario on multiple screens, ideally I would want a top level js function which will hide all radio buttons if their 'related field' is not displayed.
I cannot see any properties on the containing <div> which I can access to control the hide.
Is the 'user defined data' property any help here? I can't seem to find any examples of what this can be used for.
As we will have this scenario on multiple screens, ideally I would want a top level js function which will hide all radio buttons if their 'related field' is not displayed.