Need to be able to ask if someone is a bringing a guest, and if so, how many and add a cost for each guest. Plus require full name of each guest.

  • senjutsusage
    Asked on August 3, 2017 at 2:40 AM

    Would like to ask form users if they're bringing a guest, and if they are, then I would like the form to ask them how many.

     

    So first things first: I need to know how to make one field dependent on the answer given in a previous field. If a user says yes, then I would like to present them with a choice as to how many guests they want, potentially up to as much as 4.

    For each guest they decide to add, I would like to associate a cost or price for that addition, which is then ultimately combined with the overall total cost of a specific package or set of products.

    And last, but certainly not least, I would in addition to all that like for each guest I add (whether 1, 2 or 3) to dynamically bring up a required field where you must enter the name of each guest.

     

    And this isn't quite as important, but it would be great: I would like to be able to associate a unique number or identifier to each and every guest along with the original purchaser, making sure they receive back those unique identifiers and I also receive them once they make their purchase.

     

  • Ashwin JotForm Support
    Replied on August 3, 2017 at 4:35 AM

    Hello senjutsusage,

    Yes it is possible to achieve your requirement by taking advantage of our "Conditions" feature to show / hide form fields based on answer of another question. You can also add "Calculation Value" of dropdown question to add the price for each option. Please check the screenshot below:

    Need to be able to ask if someone is a bringing a guest, and if so, how many and add a cost for each guest Screenshot 20

     

    Please note based on the selection of number of guests, you can pass the calculation value amount to your payment field. The following guide should help you:  https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    Please take a look at the following cloned form where I have made the required changes to achieve your requirement and see if this is what you wanted to achieve:  https://form.jotformpro.com/72142298579972

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

     

  • senjutsusage
    Replied on August 3, 2017 at 1:40 PM

    Is this kind of thing ONLY possible with a paypal payment pro form? And do you require a paypal business account to use any of the paypal forms on jotforms on a website?

     

    If you could help me to understand. What's the main difference between a paypal pro payment form and a regular paypal payment form?

  • Ashwin JotForm Support
    Replied on August 3, 2017 at 3:05 PM

    Hello senjutsusage,

    To pass calculated value to PayPal payment tool, you do not need to have a PayPal Pro account. This can be achieve with regular PayPal account. 

    You may like to take a look at the following guide for the difference between PayPal and PayPal Pro:  https://www.jotform.com/help/183-Difference-Between-PayPal-and-PayPal-Pro

    Thank you!

  • senjutsusage
    Replied on August 3, 2017 at 11:35 PM

    Have one more question. How do I get the form to perform an entirely different calculation if a certain condition is met? I would no longer want the previous calculation to work, and would need some way to send the end result calculation to the form Total.

  • Mike_G JotForm Support
    Replied on August 4, 2017 at 2:31 AM

    If you want to have a different calculation based on another field's answer or selection, then you can create a different set of condition with different condition rules and different output.

    Below are guides that you may use as references:

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

    Conditional-Logic-Inserts-Text-Calculation-Into-A-Field

    I hope this helps. If you have other questions regarding this, please let us know and we will be glad to help you further. We may also need more information or details of the calculation and rules that you would like to have with your form so we can create samples for you if possible.