What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Use conditions for paypal payment tool?

    Asked by korben88 on April 04, 2013 at 08:17 AM

    I have a registration form for an event. Pretty basic stuff, Name, email, phone #. But there is a price break for couples ($45/single $80/couple).

    Can I make a condition that changes paypal item based on if there is one or two names or a field that denotes a couple will be attending?

     

    Thanks

    Troy

     

     

    EDITED TO ADD...

     

    Also I found this example where there are 2 seperate payment options. Could I do this and have the "couple?" button switch to a second paypal payment cell?

    payment tool tool registration form email condition payment payment options
  • Profile Image
    JotForm Support

    Answered by EltonCris on April 04, 2013 at 08:40 AM

    Hi Troy,

    This can't be done via JotForm Builder but this is doable using your form source code and inject extra scripts their that create such function. 

    Can you please confirm if this is the condition you are looking for? Example:

    My Products  - Single $45.00 USD is displayed by default.

    If "Couple registration?" equals to Yes change the paypal product to "My Products  - Couple $80.00 USD"

    Is this right? Please let us know so we can help you with the custom scripts if you like. Thanks!

  • Profile Image

    Answered by korben88 on April 05, 2013 at 02:59 PM

    That is exactly what I am looking for.

    Would also like it to be preselected in both cases if possible

  • Profile Image
    JotForm Support

    Answered by Welvin on April 05, 2013 at 03:44 PM

    Hi,

    The given example on your first thread will also work. Here are the guides for that;

    How to set up paypal along with other payment options

    How to Create a Basic Multiple Payment form

    ----------

    Would also like it to be preselected in both cases if possible

    - Yes, this is possible. We have added a function to preselect item or even make the item as required. You can have this when setting up your product listing.

    ---------

    My colleague will be in touch with you with regard to the source codes method.

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by jonathan on April 05, 2013 at 03:49 PM

    @ korben88

    " " Would also like it to be preselected in both cases if possible ""

    This guide should also help understand in adding option to the payment field i.e. pre-select and required options.

    -How-To-Add-Options-In-The-Payment-Form


    Thanks.

  • Profile Image

    Answered by korben88 on April 06, 2013 at 01:35 AM

    You guys are awesome, I give it a shot this weekend and see if I can get it to work.

  • Profile Image

    Answered by gori-mathew on April 06, 2013 at 03:59 AM

    On behave of my colleagues you are welcome, do enjoy using Jotform.