Populate one form based on submit buttons with different values

  • designhero
    Asked on January 21, 2017 at 1:14 PM

    Hi there

     

    I want to create a booking form which will be populated with information based on which button the user clicks.

    there are several locations:

    Edinburgh

    Glasgow

    Aberdeen

    for each location there are various options:

    Option 1- 1 hour booking

    Option 2- 2 hour booking

    Option 3- Party booking.

    When the user clicks the book now button, I need them to be directed to an enquiry form which is already populated with the location and booking option, then allow them to fill out other details such as name, email address etc.

     

     

  • jonathan
    Replied on January 21, 2017 at 2:52 PM

    You can achieve these using the Condition logic tool Update/Calculate Field feature.

    Populate one form based on submit buttons with different values Image 1 Screenshot 20

    I suggest you review the following user guides:

    #1 https://www.jotform.com/help/286-How-to-Pass-Field-Value-to-Another-Field

    #2 https://www.jotform.com/help/268-Conditional-Logic-Inserts-Text-Calculation-Into-A-Field

    You may not need multiple submit buttons since the Submit button if multiple of them were in the form, will only do one same action every time when submitting the form.

    The Condition logic rules you create will take care of the form action base on the user response.

    Let us know if you need further assistance.