Title: validation / error messages
Last modified: April 15, 2018

---

# validation / error messages

 *  [mrsburnside](https://wordpress.org/support/users/mrsburnside/)
 * (@mrsburnside)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/validation-error-messages/)
 * I followed the steps provided in the documentation to add some custom fields.
   That worked partially. It is not actually validating that the user has provided
   input in my custom fields, and I’m not getting an error message for the missing
   fields at the top of the page like the “default” error messages for the username
   and password:
 * ERROR: Please enter a username.
    ERROR: Please type your email address.
 * How can I add validation and get the error messages to show up when the user 
   does not complete my new custom fields?
 * mrsburnside
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalidation-error-messages%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/validation-error-messages/#post-10186025)
 * The validation step is documented here: [http://docs.thememylogin.com/adding-extra-registration-fields/](http://docs.thememylogin.com/adding-extra-registration-fields/).
 *  Thread Starter [mrsburnside](https://wordpress.org/support/users/mrsburnside/)
 * (@mrsburnside)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/validation-error-messages/#post-10187912)
 * yes it is, and i followed it to a T … I just used what you had there so I could
   see it work. I get the error message as described above, but I do not get any
   message about the first name, last name fields which were added. I didn’t deviate
   from the instructions because I wanted to get the hang of it and customize from
   there.
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/validation-error-messages/#post-10189959)
 * Can you post the code that you’re using for validation?

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

The topic ‘validation / error messages’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/validation-error-messages/#post-10189959)
 * Status: not resolved