- mypnaaAsked on September 06, 2014 at 01:33 AM
Is there a way I can filter the products from Paypal using the jotform payment wizard? In this form http://form.jotformpro.com/form/42478559747978 I want to filter the products based on the selected category (membership status). For example, I selected Pres. and Pres. Elect on the membership status, the product should only show the product for Pres. and Pres. Elect.
I cannot do the read-only and calculation field method because when you go to the paypal page, it will not show the name of the items, only the total amount. I cannot also do the custom property because the tendency is they can select membership status but it will be also possible to select other product that doesn't match their status.
- JotForm SupportEltonCrisAnswered on September 06, 2014 at 05:56 AM
If you need further assistance, let us know here.
- mypnaaAnswered on September 06, 2014 at 11:45 AM
I agree, the source code is the last solution and I've been trying to figure this out quite hard since I'm not a js expert. I am looking at the js condition code but I don't know the IDs/name of each item in the checkbox. Unlike the other field formats I can see clearly the name, ids, etc. Can you give me a sample code which outputs the filtering like above then I'll just follow it? I find it funny that I decided to just duplicate the forms to each member status and change the amount of the items. :-(
- KadeJMAnswered on September 06, 2014 at 04:05 PM
I'm not sure if you'd be interested but there's actually another way around that problem without the need of the source code via the use of a Multi-Payment Form. The only downside to it though is that it would split those up into separate forms, but in my opinion I think it's benefit outweighs it all.
Here's a demo example of my alternate suggestion for this so that you can see what I mean:
Basically what I did to create it is divide your payments into 4 different forms and place them all onto a 5th form. Then on the 5th master form above in my example I used conditional logic to hide them unless selected to create the sense of these options being filtered appropriately.