-
beatsaheadAsked on March 17, 2016 at 12:51 PM
I had this working briefly but must have one of the conditions wrong.
I have 2 different payment methods within iframes on this form. the paypal one is working correctly but the stripe one is showing all the time when it should be hidden unless the conditions are met.
Any help appreciated.
-
HubersonReplied on March 17, 2016 at 3:02 PM
You actually have two conditions set for both Widget that are conflicting. One condition hides the Widget ( id257 ) and shows the Widget ( id258 ) while the other with the same logic do the opposite. Also, unless both conditions 'Email Contains t' and 'Payment... is Equal to Card Pay...' are met nothing will actually happen with those widgets that are triggered by the conditions.
Looks like you want both PayPal and Stripe Payment added to the form, if that's the case I would suggest you create a number field set as hidden with default value to 0, and then add the conditions as in the bellow screenshot
What these conditions do is, update the value of the number field with your logic from previous conditions, which is then used to toggle the Widgets visibility.
You can view the clone - HERE and see if that is what you wanted to achieve
-
beatsaheadReplied on March 25, 2016 at 7:30 AM
Thanks for answer but its still not doing what I want, the paypal field is showing all the time.
Stripe OR paypal should only show if card payment online is selected.
If card payment online is selected stripe should show if there is a T in the email field and paypal should show if there is not a t in the email field.
If any other payment method is selected paypal and stripe should be hidden.
-
Mike_G JotForm SupportReplied on March 25, 2016 at 9:51 AM
To fix the issue, make sure that the only conditions that involve the field, "hide stripe payment field" are the following conditions below.
Also, you need to remove the Default Value set on the "hide stripe payment field". Since it is set to "0" it will always show "PayPal".
Here's a clone version of your form where I have applied the changes: https://form.jotform.com/60844278230960
Let us know if you need any further assistance. Thank you.