CodeIgniter Forums

Full Version: Radio buttons form validation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]wbremen[/eluser]
When using CI 2.0 and radio buttons in a form, the form validation class does not return an error when a field which validation rule is set to required is submitted empty.

El Forum

[eluser]wbremen[/eluser]
It seems like the whole radio field is not even validated when submitted empty!

El Forum

[eluser]wbremen[/eluser]
Problem found - this bug only applies when the submit button does not contain a name!