Title: switchbutton in form does not send the value Post by: kandy on March 02, 2016, 11:44:44 AM Hi,
I have a form <form id="formMy" method="post" enctype="multipart/form-data"> <input type="hidden" name="id" id="id"/> .... <input class="easyui-switchbutton" name="aa" id="aa" data-options="onText:'Yes',offText:'Nooo'" value="1"> </form> if I set the switch on the variable aa is sent, however, if I do not change it the variable aa is not sent with submit. Title: Re: switchbutton in form does not send the value Post by: stworthy on March 02, 2016, 05:32:19 PM The switchbutton is same as checkbox. It has on/off state and can be toggled by the user. When a form is submitted, only the checked components can be submitted.
|