• Hello

    I have customised the country dropdown and changed the Zip field to Post Code and removed the regex as per the instructions on the website and I get a “Please enter a complete address” error on submitting.

    Contents of child there functions.php:

    /**

    /**

    • Change the ‘Zip’ field label to ‘Post Code’ (beneficial for UK residents)
    • @reference: https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender/issues/453
      */
      function yikes_mailchimp_change_zip_label_to_postcode( $field_label ) {
      $field_label = ‘Post Code’;
      return $field_label;
      }
      add_filter( ‘yikes-mailchimp-address-zip-label’, ‘yikes_mailchimp_change_zip_label_to_postcode’ );

    /**

    • Completley remove the regex pattern for validating zip codes
    • @reference: https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender/issues/453
      / function yikes_mailchimp_remove_zip_regex_pattern( $regex_pattern ) { $regex_pattern = ‘[\s\S]‘;
      return $regex_pattern;
      }
      add_filter( ‘yikes-mailchimp-zip-pattern’, ‘yikes_mailchimp_remove_zip_regex_pattern’ );

    Help on this is greatly appreciated.
    Thank you

    The page I need help with: [log in to see the link]

The topic ‘Please enter a complete address’ is closed to new replies.