What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Conditional logic and credit card payment

    Asked by sisters7 on July 15, 2016 at 11:37 AM

    When I setup Braintree, I have Braintree gets the "amount due" as the amount to be charged. However this form also has the option for registrants to pay with check. Since the number gets carried to credit card payment automatically, the conditional logic "If 'check to be mailed' is filled, show 'Please make check payable...." and "Registration is not officially....'" does not work.  The program does not recognize "check to be mailed" is filled, because the credit card payment was filled first.

    How do I correct this problem, so the conditional logic for "check to be mailed" works?

    Thank you again for your time and your effort. I truly appreciate it.



  • Profile Image
    JotForm Support

    Answered by BJoanna on July 15, 2016 at 12:29 PM

    First I would suggest you to delete last two hide options for field "Amount due". 

    Then inside of "Check to be mailed" check box field add radio button field with two options: Check to be mailed and Pay by Credit Card. Then set condition for that field to show "Credit Card Payment" field is option "Pay by Credit Card" is selected. 

    This way "Credit Card Payment" field will only be shown if "Pay by Credit Card" option is selected, regardless if "Amount due" field is filled or not.


    Here is my cloned form when I made mentioned changes: https://www.jotformpro.com/form/61964824180965

    Feel free to clone it

    You can also check this guide:


    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by sisters7 on July 15, 2016 at 04:26 PM

    Your suggestions are wonderful. I have incorporated them into my form. However, if I click "by check" as the payment method, "Please make your check payable...." and "Registration is not officially complete until..." don't show up even though I have included them in the "show" logic.

    Please help again. Thank you.

  • Profile Image
    JotForm Support

    Answered by BJoanna on July 15, 2016 at 05:48 PM

    Remove this options from "Amount due" condition as well.

    Also disable or delete this condition. Credit card Payment field as actually filled in this stage, because amount is passed from "Amount due" to payment field. 

    Here is my demo form: https://www.jotformpro.com/form/61966976382979 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.