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

    How can I hide the Credit Card option on Paypal Pro?

    Asked by jstrategy on October 23, 2013 at 12:35 AM

    I want to use Paypal pro but I'm getting an error when processing credit cards. I've decided that I want to use Paypal pro so I can stay on the page but I want to hide the credit card option. Can you guys help me with that with CSS?

    Page URL:
    https://www.simplymyown.com/simply-my-own-sign-up-and-monthly-hosting/

    credit card
  • Profile Image

    Answered by khrisell on October 23, 2013 at 02:09 AM

    Hello,

    May I know what is the error you are having when using Paypal pro? 

    Are you trying to hide this?

    I am afraid that is not possible even we inject CSS code as this will let you choose between paypal or creditcard upon payment and this will let you show the payment details field where they will input the Credit Card information.

    You can choose the option where you can hide some of the option for the credit card on the properties above.

    But Eliminating all of the option from the properties is not quite possible.

     

    Please let us know if you have further questions or inquiry so that we could help you.

    Sending us the error you are having could help us to sort what is causing it.

    Thank you.

  • Profile Image

    Answered by khrisell on October 23, 2013 at 05:14 AM

    Hello,

    With regards to my response earlier, please disreagard that.

    Here's the CSS code to inject to hide the creditcard option.

    .form-address-table tbody:first-child > tr + tr td:first-child {

    display: none;

     

    }

    Follow this guide on how to inject this codes

    1. Click Setup & Embed

    2. Preference

    A new window will pop-up.

    3. Then click Form Styles

    4. And paste the code under Inject Code CSS box.

    And then close that window and you're done.

    You will now see that the credit card option will be hidden.

    Please let us know if you need further assistance.

    Thank you for using JotForm. :)

  • Profile Image

    Answered by CANYC on December 04, 2013 at 12:09 PM

    Question: How do you hide the paypal option instead of the credit card option?

    I tried this but its not correct:

    .form-address-table tbody:first-child > tr + tr td:second-child {display: none;}

    Thanks

  • Profile Image

    Answered by EliezerN on December 04, 2013 at 02:48 PM

    @CAYC

    Kindly open a separated thread to post your inquiry, in that way will be able to give you the proper assistance and will avoid any confusion with previous messages.

    Thanks

  • Profile Image

    Answered by pinoytech on December 04, 2013 at 02:49 PM

    @CANYC

    Please try to use and inject this custom css in your form in order to hide PayPal option.

    #input_21_paymentType_express.paymentTypeRadios {

    display: none;

    }

    label[for="input_21_paymentType_express"] img {

    display: none;

    }

    Clone: http://www.jotformpro.com/form/33376092557966

    Feel free to contact us again if you need further assistance at anytime an open/create a separate thread.