[ https://issues.apache.org/jira/browse/WW-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-4886. ----------------------------- Resolution: Not A Problem > Checkbox is taking value as true on deselecting > ----------------------------------------------- > > Key: WW-4886 > URL: https://issues.apache.org/jira/browse/WW-4886 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.5.12 > Environment: JDK 1.8, Jboss-eap-7.0.0 > Reporter: Nivedya > Priority: Major > Labels: patch > > I am migrating struts 2.3 to 2.5.12 after migration checkbox validation is > not working , It is taking the value as true if we are not checked the box as > well. > Actual code > {code:html} > <s:checkbox id="customer.quote.application.example1" > name="customer.quote.application.example1" theme="simple"/> > {code} > internally the code will be generated like.. > {code:html} > <input type="checkbox" name="customer.quote.application.example1" > value="true" checked="checked" id="customer.quote.application.example1"> > <input type="hidden" id="__checkbox_customer.quote.application.example1" > name="__checkbox_customer.quote.application.example1" value="true"> > {code} > Can you please suggest any option for this? -- This message was sent by Atlassian Jira (v8.20.10#820010)