Title: mandatory fields
Last modified: July 9, 2019

---

# mandatory fields

 *  Resolved [luizlobao](https://wordpress.org/support/users/luizlobao/)
 * (@luizlobao)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mandatory-fields-5/)
 * In my check out page fields like STREET ADDRESS/ POSTCODE/ TOWN/ PROVINCE are
   appearing like (OPTIONAL). How can I put them as a mandatory field * ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmandatory-fields-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [yeahhbaby](https://wordpress.org/support/users/yeahhbaby/)
 * (@yeahhbaby)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11724121)
 * Same here. Although they are marked as required, the Woocommerce default configuration
   seem to overwrite plugin configuration.
 *  [gafferCanberra](https://wordpress.org/support/users/gaffercanberra/)
 * (@gaffercanberra)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11724850)
 * I reported this back in April and have yet to see a fix. As an interim you could
   add the following to your functions.php file:
 * /* WooCommerce Checkout Manager plugin failure re mandatory fields */
    add_filter(‘
   woocommerce_default_address_fields’, ‘customise_postcode_fields’ ); function 
   customise_postcode_fields( $address_fields ) { $address_fields[‘address_1’][‘
   required’] = true; $address_fields[‘city’][‘required’] = true; $address_fields[‘
   state’][‘required’] = true; $address_fields[‘postcode’][‘required’] = true;
 *  return $address_fields;
    } /* end */
 *  Thread Starter [luizlobao](https://wordpress.org/support/users/luizlobao/)
 * (@luizlobao)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11725923)
 * [@gaffercanberra](https://wordpress.org/support/users/gaffercanberra/)
    thanks!
   the plugin should make an update solving this issue…
 *  [RYSE](https://wordpress.org/support/users/ryse/)
 * (@ryse)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11734137)
 * I’ve tried using this workaround, but it’s not working for me. I can see the 
   initial fields showing the *, but then the page finishes loading and those form
   fields seem to disappear and the ones left showing on the screen aren’t maintaining
   their “required” status. Any suggestions? The site is [https://mathsp.com](https://mathsp.com).
 *  [yeahhbaby](https://wordpress.org/support/users/yeahhbaby/)
 * (@yeahhbaby)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11734563)
 * [@gaffercanberra](https://wordpress.org/support/users/gaffercanberra/): Thanks
   a lot for the workaround. *thumpsUp*
    [@ryse](https://wordpress.org/support/users/ryse/):
   Try revisting the apostrophes in gafferCanberra’s code. In my case I had to replace
   them and now it is working just fine.
 * Nevertheless a statement by the plugin owner would be highly appreciated as well.
 *  [RYSE](https://wordpress.org/support/users/ryse/)
 * (@ryse)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11754446)
 * I meant to send this days ago. Thank you so much!! It was the single quotes.
 *  [mrjukic](https://wordpress.org/support/users/mrjukic/)
 * (@mrjukic)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-11841714)
 * I have same problem,
    is there any solution?
 *  Plugin Author [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * (@quadlayers)
 * [7 years ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-12005396)
 * hello guys
    can you please test update 4.5.3?

Viewing 8 replies - 1 through 8 (of 8 total)

 The topic ‘mandatory fields’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-checkout-manager/assets/icon-256x256.jpg?rev
   =2911736)
 * [Checkout Field Manager (Checkout Manager) for WooCommerce](https://wordpress.org/plugins/woocommerce-checkout-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-checkout-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-checkout-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-checkout-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-checkout-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-checkout-manager/reviews/)

 * 8 replies
 * 6 participants
 * Last reply from: [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/mandatory-fields-5/#post-12005396)
 * Status: resolved