This thread is resolved. Here is a description of the problem and solution.
Problem:
How to override the custom date field options on Toolset form
Solution:
To override the datepicker option for your custom date field as per your requirement, I've adjusted the JS code you have added to your form's JS box:
I have created a simple form with just a date field.
I'm using jQuery to limit the date range. The date picker works fine with the jQuery script, but it doesn't save to the database. When I disable the script, it saves the date to the database.
Hello. Thank you for contacting the Toolset support.
Well - to override the datepicker option for your custom date field as per your requirement, I've adjusted the JS code you have added to your form's JS box as given under:
I can see now it works as expected ?
=> hidden link
I'm offering you the exact solution you required but I just notice that you have added the comment to my profile which is contrary to the support I'm offering you here.
Thanks for the quick response, Minesh. While the solution you provided works to add the date to the database, when I go back to edit the post (via cred edit form), the data is not being displayed.
You can replicate this by logging into the website and viewing any of the "sitters" posts from the front end. You'll see the cred edit form below the post details.
hidden link
The date is saved in the db and visible from the backend, but not on the frontend edit form.
Thanks in advance.
New threads created by Minesh and linked to this one are listed below: