Title: Validate user input
Last modified: September 2, 2026

---

# Validate user input

 *  [clesissrl](https://wordpress.org/support/users/clesissrl/)
 * (@clesissrl)
 * [2 days, 16 hours ago](https://wordpress.org/support/topic/validate-user-input/)
 * I need to validate the text a user inputs in an input field. Before sending, 
   the plugin should check if some conditions are met (example if there are only
   numbers in the field).
   I can’t find the options to do so though. Is there a way
   to do it?

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

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [1 day, 20 hours ago](https://wordpress.org/support/topic/validate-user-input/#post-19010307)
 * Hello [@clesissrl](https://wordpress.org/support/users/clesissrl/),
 * I hope things are going well for you.
 * > (example if there are only numbers in the field).
 * Since you need only numbers to be allowed in the field, you can try a “Number”
   field instead of a text input field.
 * If you’re seeking something else, could you please provide more details about
   what you’re aiming to achieve?
 * Looking forward to hearing from you soon.
 * –
    Kind Regards, Imran Khan
 *  Thread Starter [clesissrl](https://wordpress.org/support/users/clesissrl/)
 * (@clesissrl)
 * [1 day, 13 hours ago](https://wordpress.org/support/topic/validate-user-input/#post-19010717)
 * Thanks for your reply!
   I actually have to use the input field. The user must 
   insert a code with a combination of 6 letters and 2 numbers.
 *  [geraldjim](https://wordpress.org/support/users/geraldjim/)
 * (@geraldjim)
 * [1 day, 13 hours ago](https://wordpress.org/support/topic/validate-user-input/#post-19010743)
 * I have a similar requirement where I need to validate an alphanumeric string 
   where the first 3 values are char and the remainder is numeric.
 * Gerald
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [20 hours, 27 minutes ago](https://wordpress.org/support/topic/validate-user-input/#post-19011311)
 * Hi [@clesissrl](https://wordpress.org/support/users/clesissrl/) [@geraldjim](https://wordpress.org/support/users/geraldjim/),
 * I am afraid Forminator does not have an option to validate the input field as
   such out of the box. However, it should be possible using custom coding.
 * I am afraid that providing custom code is outside the scope of the general support
   we provide here. For that, you’ll need to hire a developer to provide the required
   custom code for you. WordPress provides a jobs directory here: [https://jobs.wordpress.net/](https://jobs.wordpress.net/).
   If you need further advice about it, feel free to email us at [wpsupport@incsub.com](https://wordpress.org/support/topic/validate-user-input/wpsupport@incsub.com?output_format=md)
   using the following subject line.
 * `Subject: ATTN: WPMU DEV support - wp.org`
 * Kind Regards,
    Nebu John

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalidate-user-input%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * Last activity: [20 hours, 27 minutes ago](https://wordpress.org/support/topic/validate-user-input/#post-19011311)
 * Status: not resolved