This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Date field - restricted dates
Started 12 years ago by bennko | 4 posts |
-
Hi Yuniar. I have a general query which I hope you can help with - I know you are busy working on v3 which looks really good by the way. My query is I plan to produce an array of request forms for customers to fill in.
The form will include a date field "today's date" and another date field for the "deadline date". There is a 5 working day lead time for requests and I want to impose a restriction on the "deadline date" field so that the user(s) can't select an earlier date and if they do it will display side message stating there is a 5 day lead time. How easy is it to do this, do you think it is possible?
Posted 12 years ago # -
It is possible, but the error message won't be displayed instantly as soon as they select the date.
So, when the form being submitted, the PHP will check the date and return back to the form if there is any errors and let your users to change the date again. If this is okay for you, I can help you with the code for this.
MachForm Founder
Posted 12 years ago # -
Hi Yuniar,
I was wondering if there was any progress regarding this post? I need a 14 day lead time on my form so I need to restrict 14 days after the current one when selecting a date.
Thank you.
Posted 11 years ago # -
I'm afraid this functionality is not available within v3 as well. Sorry.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.