Title: Make field compulsory
Last modified: July 24, 2022

---

# Make field compulsory

 *  Resolved [dejman](https://wordpress.org/support/users/dejman/)
 * (@dejman)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/make-field-compulsory/)
 * How do I make a created field a compulsory field just like the default ones?

Viewing 1 replies (of 1 total)

 *  Thread Starter [dejman](https://wordpress.org/support/users/dejman/)
 * (@dejman)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/make-field-compulsory/#post-15854201)
 * I found the solution.
 * To make an input field compulsory add required=”required” to the shortcode.
    
   It should look like this [text name="Full Name" required="required"].

Viewing 1 replies (of 1 total)

The topic ‘Make field compulsory’ is closed to new replies.

 * ![](https://ps.w.org/payment-forms-for-paystack/assets/icon-256x256.png?rev=3047685)
 * [Payment Forms for Paystack](https://wordpress.org/plugins/payment-forms-for-paystack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-forms-for-paystack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-forms-for-paystack/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-forms-for-paystack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-forms-for-paystack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-forms-for-paystack/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dejman](https://wordpress.org/support/users/dejman/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/make-field-compulsory/#post-15854201)
 * Status: resolved