adaptive form || radio buton - default value
Query - How to set a default value for a radio button ?
Scenario ...
I have a radio button that has two values. It has two value no=No , yes=Yes and field name is testRadioButton
I want to use this for the basis of hiding some other field. But I need to show it at time of form load. Whet I use an expression testRadioButton.value == "yes" in the field that I need to show/hide, It works fine except that it is always hidden on form load. I found that it is hidden because the value is not set for the radio button.
Note: If I put a value no in Value field, it is used for pre-populating in edit node ONLY
Another related thing.... documentation referes to something called ... "Initialization Script" but I cant seem to find it in the actual form. What could I be missing
/KS