Topic: Datepicker display format vs. submit format
Often, the date format displayed to the user is different than what a server expects (i.e. localized format vs. ISO). It would be nice if there were two options for formatting - one for the display and one for submitting.
Upon initialization, the Datepicker would create a hidden input with the name of the original text input and set its value to what the user picked, but format it using the submit format. The text input that displays the date should no longer have a name attribute so its value is not submitted and should use the display format.
There is only one format option and that affects both the date displayed and the value submitted to the server.
Thanks for your feedback. I have added this to our ideas list. We will discuss this in our team.
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.7.1
- Device: All devices
- Browser: All browsers
- OS: All operating systems
- Provided sample code: No
- Provided link: No