Made a radiobutton assume proper value instead of true/false.
Just like in html where every can have a proper
value
Made radioset assume the value of selected radio. This makes easier to
handle the radioset value once the form is submitted, since in the
submitted data we can now access the selected value using
submittedData.radio-set, which is easier than checking which index
of submittedData.radiobutton is set to true. This is specially
useful when the radio buttons are constructed dynamically instead of
being hard-coded.
submittedData.radio-set
, which is easier than checking which index ofsubmittedData.radiobutton
is set to true. This is specially useful when the radio buttons are constructed dynamically instead of being hard-coded.