- ksquaredno1Asked on March 15, 2017 at 02:04 PM
I have a form that already has a base dollar amount attached to it and members can add additional amounts to it when they sign up. We have 2 methods of payment, one is by credit card using Stripe and the other is by check.
If the person pays by check and doesn't fill out the credit card information, they cannot submit the form because the credit card section turns red and says the CC number is invalid, CVC number is invalid, Expire date is invalid. Please fill up the Credit Card details.
Is there a way to work around this?
Is there a way to setup some kind of conditional script so if they check that they are sending a check, then it disables the credit card fields?
Your quick response is appreciated!
- JotForm SupportdavidAnswered on March 15, 2017 at 04:31 PM
If you need to offer payment by check or PayPal, here is our guide on how to set it up so that the user is not forced to enter credit card details when check is selected:
The conditions UI screenshots are a bit outdated, however, the conditions should still work the same.
Essentially, when check is selected, you would conditionally hide the Stripe field. When the Stripe field is hidden, it will not be required.