Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81210

How to set date input format

$
0
0

I want users to be able to enter a date as ddMMyyyy (e.g. 21022017). I have tried setting a custom date format, but I get a Model Error stating 'A date picker with a custom date format cannot be editable'. I have also tried setting the custom date format in the language setting, but that changes the display of dates as well, while I would like to have those displayed as dd-MM-yyyy. So, actually I am looking for a way users can enter a date without hyphens, but it corrected afterwards. I can implement an onchange on the date-input with 'abort on validation errors' set to no, but it has some drawbacks and there might be an easier way. Any suggestions?


Viewing all articles
Browse latest Browse all 81210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>