Kattouf
November 15, 2019, 4:34pm
1
Is there a validation or client side code to check that End Date picker value is bigger than Start date picker. I’m building a calender event insert form.
I am guess some sort of validation on Submit Button click?
if text2 > text 2 : submit the form?
Kattouf
November 15, 2019, 4:41pm
2
Never mind i found it.
Add Dynamic Attribute on End input Date Picker and set Min Date = Start.value
2 Likes
Teodor
November 15, 2019, 4:42pm
3
Just use the dynamic attributes of datepicker 2 and set min date = datepicker 1 value.
See:
I am only just starting to get round to using date and time data and I am confused so I need some help and guidance. I have done the usual trawling through the various posts here, videos, and looking on DMXZone.
Background information
PHP, MySQL, loads of dates in existing database tables set as DATETIME and exist in the following ways
2018-10-17 21:09:30
0000-00-00 00:00:00
NULL
When I use the Bootstrap 4 Form Generator the date fields are created as type="date" but no date shows when vie…
1 Like
scott
November 15, 2019, 4:43pm
4
Great question @Kattouf , I had actually never thought about validation in the date picker, but will be adding it because of this discussion.
1 Like