Use conditions for paypal payment tool?

  • Profile Image
    korben88
    Asked 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?

  • Profile Image
    EltonCris
    Answered 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
    korben88
    Answered 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
    Welvin
    Answered 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
    jonathan
    Answered 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
    korben88
    Answered 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
    gori-mathew
    Answered on April 06, 2013 at 03:59 AM

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