Support » Plugin: Addon Paypal and Stripe With Contact Form 7 » remove Billing Zip / Postal Code

  • Hi,
    thank you for the great plugin!
    I would like to remove the Billing Zip / Postal Code field showing up with the credit card details fields.
    
    How to do it?
    
    Thank you,
Viewing 4 replies - 1 through 4 (of 4 total)
  • ste_yeu

    (@ste_yeu)

    Hello,

    I resolved like that, just add this code in your CSS (zip code is not a required field, so just I hid it):

    
    /***** Plugin Addon Paypal Stripe with Contact Form 7 *****/
    
    label[for=cf7wpay_stripe_credit_card_zip], div#cf7wpay_stripe_credit_card_zip {
        display: none !important;
    }
    Thread Starter Elie

    (@gopalji)

    Thank you Ste-yeu, I already tried this, but since the field is required, it is not possible to submit the form.

    bm956937

    (@bm956937)

    You can remove the required attribute from Contact form 7 then use the CSS solution to hide the field.

    Thread Starter Elie

    (@gopalji)

    bm956937,
    the postal code field for stripe does not show in the contact form 7 editing form. The field appears after the form has been submitted, so I can’t remove the required attribute.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘remove Billing Zip / Postal Code’ is closed to new replies.