- AA_CAsked on November 26, 2015 at 10:23 AM
Is it possible to hide one of my PayPal options based on whether a person is a member or not.
On my form, formID=53294385611963, I have a Select one option box at the bottom for Dog ID Cards.
A new card price for members and non-members is different. Is it possible to hide an option based on what a person indicates in the question; Are you a current member, yes hides non-member price no hides member price.
I don't need this until Jan 1 2016, no rush...LOL
- JotForm SupportBDAVIDAnswered on November 26, 2015 at 11:13 AM
Unfortunately, it is not possible to hide an option(product) within the payment integration.
I would recommend you to separate the product options in different Radio Button fields, and show/hide them based on the selection made in the question " Are you a current member":
Then, you can pass the total value of the product option chosen to your PayPal integration:
Please give it a try, and if you need further help on this, let us know, we will be glad to assist you.
- AA_CAnswered on November 26, 2015 at 05:25 PM
Not sure if I'm on the right track with this. So now I have two sets of radio buttons for pricing.
The "Are you a current member" selects which one is displayed. But I can't figure out how to get the values in the PayPal widget.
You show a small drop down box to select where a value is taken from, I can't see the drop down only a box for value.
I added some conditions to update fields also, likely I don't need them.
- JotForm SupportBDAVIDAnswered on November 26, 2015 at 07:02 PM
First of all, I have calibrated your conditions:
So it works this way:
- JotForm SupportBDAVIDAnswered on November 26, 2015 at 07:18 PM
Now, in order to pass the value to the payment gateway, we need to add a Form Calculation widget:
Now, I have created this conditions:
This is how it works:
Now that we see that the Form Calculation widgets received the value of any of the Radio Button options (Member or non-member fields), we can simply update our payment gate way to receive the amount from the Form Calculation widget labeled "Calculation":
Don' forget to hide the Form Calculation widget:
This is the final result:
If you like it, here is the direct link to the completed form: https://form.jotform.com/53296877165975?
You may just simply clone it in your account and use it: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
If you need anything else please open a new thread, we will be glad to assist you.
- AA_CAnswered on November 26, 2015 at 08:48 PM
Perfect, Exactly what I need. Now I have to embed the code on the site and have some php code verify their membership number is valid and current with the database.
If valid show member price block if not the non-member prices.
The question about being a member or not will not be enough, people being people. :)
Thank you very much.
- JotForm SupportBDAVIDAnswered on November 26, 2015 at 09:50 PM
Glad to know that! If you need to download the full source code, here is how: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form