How to hide credit card address field in card connect?

  • Profile Image
    scherschel
    Asked on February 18, 2021 at 04:04 PM

    Is there a way to hide parts of the Credit Card information that isn't required? I don't need the address, city, state, zip to process. I only need the name, credit card, Expiration date, and code. The other information isn't necessary but takes up a lot of space.

  • Profile Image
    Jed_C
    Answered on February 18, 2021 at 09:07 PM

    There seems to be no option to hide this. Card Connect integration seems to require the collection of the address field. You may use other integration that doesn't ask for address field like PayPal and others.

    It may be possible with CSS, but I'm not sure if it will allow users to proceed if the payment field is set to required. We can try the CSS if you want.

  • Profile Image
    Jed_C
    Answered on February 18, 2021 at 09:15 PM

    In case you want to test it with CSS, you may try injecting this into your form.

    #cid_9 > div > table > tbody > tr:nth-child(5){
    display: none;
    }
    #cid_9 > div > table > tbody > tr:nth-child(6){
    display: none;
    }
    #cid_9 > div > table > tbody > tr:nth-child(7){
    display: none;
    }
    #cid_9 > div > table > tbody > tr:nth-child(8) > td:nth-child(1){
    display: none;
    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes