While creating a complex four page form using Gravity Forms I ran into a problem. For testing purposes I had set a radio button option as the default selection. My problem arose when I needed to clear that default selection and add additional options. Clicking on the set default radio button a second time does not remove the selection. This is due to the inherent functionality of a radio button: one selection from a set. As opposed to a series of checkboxes: select as many options as you would like.
The simple solution, in most cases, would be to delete the radio button option and add it back in without setting the default. The problem with solution in my case is that there are 28 fields set further on in the form which make use of conditional logic for this field. By removing it, all of those options would need to be set back up.
Solution to Preserve Conditional Logic:
After a few moments of searching in Google and not finding an answer to my specific problem, I had an idea. I added a new option to the radio button set, named it Test, set it as the new default option, and then removed it from the list. This left no default selected and preserved my conditional logic.
It is my hope that by writing and sharing this brief blog post I may be able to help others who may find themselves in a similar situation. Remember, we’re all in this together!
If you found this information useful, consider leaving a brief comment below letting me know.
Good luck in your ventures!