After submitting a form, some of the fields do not retain their values. The variables of these fields are empty. I noticed it was happening with checkboxes and the radio button.
These fields (checkboxes) were ‘checked’ in the form before submitting. But after submission, the corresponding variables lose its value. These variables are then empty.
Please see screenshot below. I have also attached a copy of our form.
This is happening in the section where we have some JavaScripts to validate few things.
Two screenshots-
1.) Screenshot from Repository showing that the checkbox is missing (it was checked before submitting the form)-
2.) Variable values showing that the variable does NOT retain value of the checkbox-
I would appreciate if you can let me know how we can resolve this issue.