I have a html form with date and time fields separately, when user clicks on save button I want to combine both date and time into date field and submit only date field with combined date and time. I already have "skip_element" attribute which I can use to avoid submitting of any field by setting true or false. My major requirement is I want to combine the date and time field values into one field and submit the form. I have backbone syphone to serialize the form. Can I do something there to combine the date and time field values and removing the time field?
Otherwise, I need to do manual coding in javascript function to combine these two fields and removing the time field from my array before sending dates with times to server. And I have to do it in many pages of my application. If it can be achieved in simple way that would be great.
You will probably need something like this.