Make options available or not depending on the booking

  • Profile Image
    teudorm
    Asked on June 08, 2020 at 12:54 PM

    Hi, 

    I have a car rental agency and I need to create a form that will display all the cars I have, which I did using Dynamic Dropdowns. However I would like, if possible, to hide the cars that are not available (depending on the pick-up and drop-off date). Example if the one bmw is booked from 08 June to 18 June, it will not be available in the dropdown. Is it possible?


    Thank you in advance!!

  • Profile Image
    BDAVID
    Answered on June 08, 2020 at 05:34 PM

    Hi, we don't have such a complex functionality. However, you could try adding an Image and a Date Reservation widget per each car: 

    1591651458pictures.png

    Also, a Form Calculation widget(which you can hide) to capture the value from the Dynamic Dropdowns widget:

    1591651607formcalculation.png

    Note: you will need to keep this field visible while you are still creating the conditions, so you can view what values it picks when you make the selections in the Dynamic Dropdowns widget. 

    Finally, create a condition to show each pair(Image and Date Reservation widget):

    1591651745conditions.png

    Result: https://form.jotform.com/201596145269966 

    1591651873result.gif

    You can clone it if you want to: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

  • Profile Image
    teudorm
    Answered on June 09, 2020 at 10:38 AM

    Thank you it worked! I will show it to my partners and see what they think about it!!


    Thanks for your fast answer, really appreciate it!!

  • Profile Image
    BDAVID
    Answered on June 09, 2020 at 12:47 PM

    You are welcome! :-)