How can I hide Zip Code in the 2 step order form?

Hi, my target audience lives in a country that doesn’t have zip codes. How can I hide it from the 2 step order form.
Thanks for your help.

1 Like

You can do something like this:

<script>
  $(document).ready(function() {
      $('.elStateDiv').hide();  // this to hide the state, you can remove this line if don't want to hide state box.
      $('.elZipCodeDiv').hide(); // this to hide the zip code
});
</script>

That’s it! By the way, that code goes into the page footer tracking code…

Hey there! :waving_hand:

If you’re using the Funnelish v2 editor, this is actually much easier now & no custom code needed.

You can remove the Zip Code field (or any other field) directly from the editor:

:backhand_index_pointing_right: Open your page in the editor
:backhand_index_pointing_right: Click on the 2-step order form element
:backhand_index_pointing_right: Select the Zip Code field
:backhand_index_pointing_right: Hit Delete

That’s it, the field will be removed instantly.

If you want a step-by-step walkthrough, check out this guide:
:backhand_index_pointing_right: 2 Step Checkout Funnel: When to Use It (and How to Build It in Funnelish)