[ 
https://issues.apache.org/jira/browse/WICKET-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16128225#comment-16128225
 ] 

Sven Meier commented on WICKET-6449:
------------------------------------

What if your boss instructs you to make all fields in your form required. 
You're clever and loop through all components to call setRequired(true) on them.
What happens? The user is no longer able to submit an unchecked chechbox ... 
Oops.

You haven't bought up new arguments that weren't available for WICKET-1221, so 
it will stay as it is.

> Form should raise validation error when required checkbox is not set
> --------------------------------------------------------------------
>
>                 Key: WICKET-6449
>                 URL: https://issues.apache.org/jira/browse/WICKET-6449
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M6
>            Reporter: Kamil
>            Assignee: Sven Meier
>         Attachments: showcase-requiredCheckbox.zip
>
>
> Every user before he registers must agree to terms&conditions, thus proper 
> checkbox is required to check and validation error should be raised when 
> required checkbox is not checked.
> This test case shows incorrect behavior



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to