s:checkbox is creating a hidden input field with __checkbox_name while i only need "name" to be sent to the form.
this is my code
<s:checkbox theme="simple" key="sendIncomplete" name="sendIncomplete" submitUnchecked="true" onchange="setChangeVariable();" value="aBoolean" />
this is the html generated
<input type="hidden" id="__checkbox_saveChecklist_sendIncomplete" name="__checkbox_sendIncomplete" value="true">
How do I santitise the code so that i can only send name "sendIncomplete" instead of __checkbox_sendIncomplete in the form.
Aucun commentaire:
Enregistrer un commentaire