I have a form am working on but ran into an issues, I am using one of the build-in demo chronoforms named “demo-fields-events” Basic form with conditional fields, disable/enable fields based on user's choices.
There is a radio button with 3 options:
Work
Travel
Other
If “Other” is chosen a text box is shown and you can type in it, if “Work” or “Travel” is chosen the text box is hidden again.
The problem is if the person choose “Other” type some info in it, then decided to change their answer and let’s say go with “Travel” instead and submit the form I get an email with “Travel” selected plus the info in the text box that they typed before when other was chosen.
So how can I fix this so when a field is hidden all info is cleared or reset?
There is a radio button with 3 options:
Work
Travel
Other
If “Other” is chosen a text box is shown and you can type in it, if “Work” or “Travel” is chosen the text box is hidden again.
The problem is if the person choose “Other” type some info in it, then decided to change their answer and let’s say go with “Travel” instead and submit the form I get an email with “Travel” selected plus the info in the text box that they typed before when other was chosen.
So how can I fix this so when a field is hidden all info is cleared or reset?