Hi,
So my form is done using the great component Choronoforms 🙂. One thing was kept bothering me that the date field doesn't have the calender image next to datepicker field. So after a little bit of a search i found out there is a toggle of element jscript in monkeyphysics can do the trick. After a little bit of tweaks i got the script to work. I was so excited to the point everything works fine. But unfortunately, i got a problem. I am getting a wrong date input on my email. For example, i select todays date and submit the form and i got an email with some weird numbers in the date.
Also, the validation of the form also begins to stop working.
I am adding the script that i used in the form.
This is the link to the form.
http://www.npbss.com/copier-products/toner-supplies
Thanks for reading. Any help or suggestion would be a great help.
So my form is done using the great component Choronoforms 🙂. One thing was kept bothering me that the date field doesn't have the calender image next to datepicker field. So after a little bit of a search i found out there is a toggle of element jscript in monkeyphysics can do the trick. After a little bit of tweaks i got the script to work. I was so excited to the point everything works fine. But unfortunately, i got a problem. I am getting a wrong date input on my email. For example, i select todays date and submit the form and i got an email with some weird numbers in the date.
[datetime] => 1359298128
Also, the validation of the form also begins to stop working.
I am adding the script that i used in the form.
window.addEvent('load', function() {
new DatePicker('.cf_date_picker', {
pickerClass: 'datepicker_dashboard',
allowEmpty: true,
toggleElements: '.wrap-dateo' <======Image Class
});
});This is the link to the form.
http://www.npbss.com/copier-products/toner-supplies
Thanks for reading. Any help or suggestion would be a great help.
This topic is locked and no more replies can be posted.
