Hi
I am using jQuery's 'Form Plugin' (available at
http://www.malsup.com/jquery/form)
to submit my form.
Just before submitting form the plugin runs (using 'beforeSubmit:'
option) validation
callback function. This CB function uses 'formData' - an array of
objects representing the name and value
of each field that will be sent to the server.
The problem is that this CB function finds only checked checkboxes.
Due to this issue
the array 'formData' index of all form elements changes depending on
the checked or not
checkbox input.
The code of the input is:
<div class="form-row"><label class="row-label" for="wholeday">Whole
day</label><input value="wholeday" name="wholeday" id="wholeday"
class="checkboxtopmargin" type="checkbox" /></div>
Any one could help me here please?
All I want is to get the checkbox indexed no matter if it is checked
or not.
Best regards