how to validate DatePicker value?
Dear All,
Since DatePicker component is editable then How to validate DatePicker value is correct date format?
please help
thanks
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Dear All,
Since DatePicker component is editable then How to validate DatePicker value is correct date format?
please help
thanks
Perhaps - on value change - log the value to the console to see the format as you've set it ?
console.log(' The value in the datepicker control is: ' + Appery('YourDatePickercontrolName').val() );
or - set a breakpoint and use the console to ask the application such questions? (you need to move your console logging above to a function inside a new javascript - and call it from the value Change event to do so.... that's a 'best practice' - using it though will drastically reduce your time to fix on almost any problem...)....
best,
Bruce
Answered here: https://getsatisfaction.com/apperyio/...