Details
Description
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
<s:checkbox id="customer.quote.application.example1" name="customer.quote.application.example1" theme="simple"/>
internally the code will be generated like..
<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">
Can you please suggest any option for this?