Title: Donation form &#8211; making fields required
Last modified: October 11, 2018

---

# Donation form – making fields required

 *  Resolved [markhof](https://wordpress.org/support/users/markhof/)
 * (@markhof)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/donation-form-making-fields-required/)
 * Hello,
 * What’s the best way to make the address, city, state and postcode required fields?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdonation-form-making-fields-required%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/donation-form-making-fields-required/#post-10775779)
 * HI there,
 * We have a snippet that would allow you to do that. You’d have to adjust it a 
   bit for those other fields, but as it is here it would force the “Last Name” 
   field to be required:
 * [https://github.com/impress-org/give-snippet-library/blob/master/form-customizations/require-last-name.php](https://github.com/impress-org/give-snippet-library/blob/master/form-customizations/require-last-name.php)
 * Thanks!

Viewing 1 replies (of 1 total)

 The topic ‘Donation form – making fields required’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/donation-form-making-fields-required/#post-10775779)
 * Status: resolved