Hi.
It looks like bug for me, so let me know.
When the form on the page contains only radio buttons as REQUIRED, it can be submitted when the option is not chosen. I checked with code and it shows that inputs(radio buttons) are invalid, but the form is still submitted.
I checked with other fields and all that required-valid-submit stuff works well, but not with radio buttons.
Hello anna
if you’re using radio buttons then setting them to required will prevent submitting if none of the values are checked. however if you have separate check boxes and you’re having troubles with making sure the forum cannot be submitted unless all values are entered, then i recommend doing it using code. make sure all inputs are required anyway.
to do that using code i suggest the following ideas:
-
disabling the button until all values are valid
-
add on button click event that when the button is clicked it checks if the values are all valid it inserts it into the database, if not it can show an error message.
Best!
Massa