Skip to content

How to hide the custom field in checkout page when my billing and shipping address checkbox is checked

In the checkout page below my billing address and shipping address same checkbox I have added custom field..so whenever checkbox is checked that custom field should be visible ..and when it is unchecked it should not be visible…

I have tried various approaches using jquery and javascript but that custom field is not targeting