Hi Support,
So, here's what we're trying to do:
Our client wants functionality added that when two dates are chosen with datepicker elements, that if the difference between the two dates is less than two days, then a message pops up for the user. We've tried setting this functionality up with the datepicker in CF6 but have been unable to get it to work. We did manage to use a custom datepicker field that we could get the functionality to work with, however the javascript it used and the javascript Chronoforms uses conflicted and broke things.
Basically, we want to know one of two things: either how to trigger a custom javascript function on change of date or select, or how to add a custom datepicker into Chronoforms 6 without conflicting with your javascript.
If it helps seeing what we're trying to do, I can also provide form links / site access.
So, here's what we're trying to do:
Our client wants functionality added that when two dates are chosen with datepicker elements, that if the difference between the two dates is less than two days, then a message pops up for the user. We've tried setting this functionality up with the datepicker in CF6 but have been unable to get it to work. We did manage to use a custom datepicker field that we could get the functionality to work with, however the javascript it used and the javascript Chronoforms uses conflicted and broke things.
Basically, we want to know one of two things: either how to trigger a custom javascript function on change of date or select, or how to add a custom datepicker into Chronoforms 6 without conflicting with your javascript.
If it helps seeing what we're trying to do, I can also provide form links / site access.
You can add a custom datepicker, add a text field and load your js file and js code using a javascript view, better use v7
if you want to call a function on date change then you can do that with a js code
if you want to call a function on date change then you can do that with a js code
I need the proper syntax to call JS function on change of date.
i don't a place to enter function name, can you please let me know how this will work?
i don't a place to enter function name, can you please let me know how this will work?

You need to login to be able to post a reply.