Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.0 M3
-
6.2.x
-
Committed
-
6
-
3
Description
Having the next code in a aui-form:
<aui:form> <aui:input type="checkbox" name="hello"> <aui:validator name="required" /> </aui:input> <aui:button type="submit" name="submit" /> </aui:form>
It's expected that the form will not be send onSubmit if the checkbox is not selected.
Currently if the user clicks the submit button a javascript error is throught and the form is submitted.
Note: The same validator works for other inputs, eg fort text.
Steps to reproduce:
1. deploy the attached auiform-portlet-6.2.0.1.war
2. add the AUI Form portlet to a page
3. click submit