Is it possible to create one form for different locations?

  • Ana
    Asked on March 16, 2019 at 9:11 PM

    Hi,

     

    Is there a way to create one form but can be used for more than one location  without putting it on the form? Or do I need to create a separate form for each location?

    Thanks...

  • Kevin Support Team Lead
    Replied on March 16, 2019 at 10:07 PM

    May you please provide more details about what are you referring with "different locations"? 

    Note that you can share a JotForm form with multiple users and collect submissions from different locations, you can also embed your form on different pages. 

    However, kindly provide us more details so we can provide an accurate response. 

  • Poe_Ana
    Replied on March 16, 2019 at 10:26 PM

    Hi,

    Yes, I am running a summer camp in 4 different states (locations).  I want to use the same form but have different dates and locations.  Is it possible or do I need a different form per location?

  • jherwin
    Replied on March 16, 2019 at 10:55 PM

    I think you can set up the four forms within one form. What I'm trying to say is that you will hide the fields for other states if the user is not from that state.

    What is your base for the user if he is from another state? For example:

    "If the country field is equal to USA then show the fields for USA"

    Guide: How to Show or Hide Fields Base on User's Answer

  • Poe_Ana
    Replied on March 16, 2019 at 11:28 PM

    Ok - so I would need to ask them which state they are from? Or would I be able to attach the correct one to my button? Example - if you click on North Carolina button - that form comes up - but if I click New York button - that form will come up.  Does this make sense?

    Thanks...

  • Kevin Support Team Lead
    Replied on March 17, 2019 at 1:15 AM

    Not a button and I think there is no need to redirect the user's to a different form, instead, you may use a drop down to list the locations and then show the fields according to the user selections. 

    To find more information about the available form elements, please check this guide: https://www.jotform.com/help/46-Quick-Overview-of-Form-Fields 

    Basically, the idea is the following: 

    1. You use a drop down to list the locations and ask the user to choose one. 

    2. Once the user has selected a location you show the fields corresponding to the location. 

    As a suggestion, you may group the fields corresponding to each location using a section collapse tool and then show the tool instead of all the fields with the condition, this guide will help you doing so: https://www.jotform.com/help/297-Show-or-Hide-Multiple-Fields-at-Once-Using-the-Section-Collapse-Field 

    Also, another option to know the user's location is to use the Get Visitor Location widget, this will automatically capture the user's country and city, then you can still use the conditions to show the fields according to the location the user is, this will also automate the process and you will not need to ask the user for that. 

    Here's the link to the widget: https://widgets.jotform.com/widget/get_visitor_location 

    This guide will help you adding the widget to your form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-Your-Form 

    I hope this helps. 

  • Poe_Ana
    Replied on March 19, 2019 at 9:27 AM

    Hi, 

    I was able to do that - now can I have different prices for each location?  When I tried to do a conditional, I am unable to pick different products which could have different prices - or do I just create another "product"?


  • Victoria_K
    Replied on March 19, 2019 at 10:32 AM

    May I ask what is the form you are working on? 

    In general, there's no option to show specific products conditionally within a payment field. I would suggest setting up products with different prices using basic form fields. Then, you can calculate total right on the form and pass it into a payment field. 

    Here are some guides:

    How-to-Perform-Form-Calculation-Using-a-Widget

    How-to-Pass-a-Calculation-to-a-Payment-Field

  • Ap2019
    Replied on March 19, 2019 at 4:43 PM

    Hi,

    I am working on using the same form for different locations for my camp.  But each location has a different price.  So I have created a drop-down menu to pick a location but then I want to the specific product to be added to that specific location.  Does this make sense?


    Thanks,

  • Kevin Support Team Lead
    Replied on March 19, 2019 at 5:57 PM

    Basically, it's not possible to "add products" or remove them conditionally, what you need to do is follow the same logic explained above, add all the products to your form and then simply show them according to the location, you can add the calculation values and perform the calculations including all the products or divide the form calculation widget per location, then simply show the desired fields when certain location is selected so the users can select the options they want. 


  • Ap2019
    Replied on March 19, 2019 at 7:18 PM

    And how will they pay - how do you connect the calculations to paypal?  

  • jherwin
    Replied on March 19, 2019 at 8:27 PM

    To pass the calculation into your PayPal payment field, please follow this guide: How to Pass a Calculation to a Payment Field