Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1398

Date Picker Limit Offset Bug?

$
0
0

Replies: 1

Hi. I have two date pickers on a form, as a calendar type – a start date and an end date. For the end date, I have a limit set for +14 days from the start date. If I pick an end date that is at least 14 days after the start date, this validates as expected when attempting to submit the form, but the end date calendar actually lets me pick the day before (+13 days), which does fail the validation upon submit, but the first 12 days are blocked from the calendar, so it seems like an oversight that the 13th day is not also blocked.

For example, in my screenshots, my start date is Dec 1 and the soonest my end date is allowed to be is Dec 14. However, I can choose Dec 13 but it fails upon submitting. If I choose Dec 14, validation passes as expected.

Screenshot 2024-11-18 173356.jpg

Screenshot 2024-11-18 173500.jpg


Viewing all articles
Browse latest Browse all 1398

Trending Articles