You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kamil (JIRA)" <ji...@apache.org> on 2017/08/14 17:12:00 UTC

[jira] [Comment Edited] (WICKET-6449) Form should raise validation error when required checkbox is not set

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

Kamil edited comment on WICKET-6449 at 8/14/17 5:11 PM:
--------------------------------------------------------

Sven (before we discuss 1221) please tell me:
1) What impact has "setRequired(true)" on a checkbox? What does it currently do?
2) How can I achieve desired behavior (which is required by EuropeanUnion for example)


was (Author: eximius):
Sven, so please tell me:
1) What impact has "setRequired(true)" on a checkbox? What does it currently do?
2) How can I achieve desired behavior (which is required by EuropeanUnion for example)

> 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)