• Resolved Nikos Kavvadas

    (@nikoslefkas)


    Hello there!
    First of all congratulations for your awesome plugin!

    I want to use Forminator as a reservation form for a vacation house, so I have two date picker in my form. The first is the check-in date and the second is the check-out date.

    I need to setup a limit between those two dates, so the check-out date starts from the check-in date.

    For example, if the check-in date is the 18/03/2023 the check-out date to starts from 18/03/2023 and after.

    In date picker options I found only the setting to setup a custom date or today, but this not helpful.

    Is it possible to setup as a limit date the selected date from the other picker field ?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @nikoslefkas

    Hope you are doing fine!

    This functionality cannot be implemented out of the box, however let me share this request with our Second Level Support team. They will check if there is a code snippet that can be used for this purpose.

    Please keep in mind our Second Level Support team handles more complex issues and their response may take some considerable time.

    Kind regards

    Luis

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @nikoslefkas

    Thanks for your patience while we checked this request.

    Actually let me correct, after verifying with my peers, we confirmed the feature is already available. Please see the recommended configuration below

    Let’s assume you have 2 datepicker fields
    https://snipboard.io/ekQ1mw.jpg

    For the “end date” field, you’ll set the start limit to match the other date field available in the form.
    https://snipboard.io/3nP2LV.jpg

    You will see the “end date” field starting date is equal to the first one
    https://snipboard.io/JHLCGO.jpg

    With this setup you can configure the Start and End fields as required.

    Hope this information helps.

    Kind regards

    Luis

    Thread Starter Nikos Kavvadas

    (@nikoslefkas)

    Thank you so much for your fast response.
    The problem solved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date limit for reservation form’ is closed to new replies.