Home › Forums › Quform WordPress › Prevent range of dates from being chosen
- This topic has 5 replies, 2 voices, and was last updated 10 years, 11 months ago by
Ally.
- AuthorPosts
- September 26, 2014 at 5:15 am #12615
Nhus
ParticipantHello,
I ‘ve followed the tutorial for populating a second form from data saved in the database and works fine but I would like to know how to prevent a range of dates from being chosen by using the startDate and endDate values of the form. It would be great to block several ranges in both startDate and endDate datepicker elements.
I look forward to your feedback.
My very best
September 30, 2014 at 9:16 pm #12651Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 30, 2014 at 9:28 pm #12653Nhus
ParticipantYes, I saw that and I made a research in the forums, but nothing like i need have been done yet.
I need to prevent a range of dates from being chosen, that array is composed for a start date and initial date.
October 1, 2014 at 10:12 am #12662Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 1, 2014 at 12:01 pm #12665Nhus
Participante.g. in this tutorial:
I have generated a startDate and an endDate associated to an unique booking ID. I also made it to save in a new database row the post ID of the booked post.
So, now what I pretend to achieve is to prevent the range of dates between the given starDate and endDate of the current post.
I look forward to your feedback
October 2, 2014 at 4:43 pm #12671Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.