Title: Blank validation message and missing field errors
Last modified: June 4, 2021

---

# Blank validation message and missing field errors

 *  Resolved [dugost](https://wordpress.org/support/users/dugost/)
 * (@dugost)
 * [5 years ago](https://wordpress.org/support/topic/blank-validation-message-and-missing-field-errors/)
 * Hi. I have forms for Login and Registration both experiencing problems with validation
   and error messages. Here they are side-by-side:
 * [https://ibb.co/fr0fpS0](https://ibb.co/fr0fpS0)
 * Login outputs a blank validation message at the top and no field errors. Register
   outputs one of the field errors at the top instead of the validation message 
   and no field errors in the form.
 * Compare to the Forminator previews:
 * Login: [https://ibb.co/KWYFd2C](https://ibb.co/KWYFd2C)
    Register: [https://ibb.co/2ZF3n2n](https://ibb.co/2ZF3n2n)
 * They’re both on the same page but I added them to separate pages with no other
   forms and got the same results. As a test, I created an entirely new login form
   but got the same results.
 * I’ve tried all combinations in Rendering to load with and without AJAX, prevent
   caching on/off, etc. Nothing seems to make any difference.
 * My client doesn’t want inline validation enabled so I need to get this validation
   to work on submit.
 * There isn’t any caching enabled in WordPress but the host does have minimal caching
   enabled on their end. In those settings I’ve whitelisted my IP so caching won’t
   apply to me at all.
 * Here is the code exported for each:
 * `{"type":"form","data":{"fields":[{"id":"html-1","element_id":"html-1","form_id":"
   wrapper-9136-6822","type":"html","options":[],"cols":12,"conditions":[],"wrapper_id":"
   wrapper-9136-6822","field_label":"","variations":"<h2><span class=\"headline\"
   >Log In</span></h2>"},{"id":"text-1","element_id":"text-1","form_id":"wrapper-
   1511347711918-1669","type":"text","cols":12,"required":"true","field_label":"
   Username or Email Address","placeholder":"","wrapper_id":"wrapper-1511347711918-
   1669","conditions":[],"required_message":"Please enter your username or email
   address."},{"id":"password-1","element_id":"password-1","form_id":"wrapper-1511347712118-
   1739","type":"password","cols":12,"required":"true","required_message":"Please
   enter your password.","field_label":"Password","placeholder":"","description":"
   <p><a title=\"Lost Password\" href=\"https://zingwithpam.com/reset-password/\"
   rel=\"noopener\">Forgot your password?</a></p>","confirm-password-label":"Confirm
   Password","confirm-password-placeholder":"Confirm new password","wrapper_id":"
   wrapper-1511347712118-1739","conditions":[]}],"settings":{"pagination-header":"
   nav","paginationData":{"pagination-header-design":"show","pagination-header":"
   nav"},"formName":"User Login","version":"1.14.10.1","form-border-style":"none","
   form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","
   form-style":"default","enable-ajax":"true","autoclose":"true","submission-indicator":"
   show","indicator-label":"Logging in…","form-type":"login","submission-behaviour":"
   behaviour-redirect","thankyou-message":"Thank you for contacting us, we will 
   be in touch shortly.","redirect-url":"https://zingwithpam.com/join-classes/","
   submitData":{"custom-submit-text":"LOGIN","custom-invalid-form-message":"Error:
   Your form is not valid, please fix the errors!"},"validation-inline":"","form-
   expire":"no_expire","use-admin-email":"true","admin-email-title":"","admin-email-
   editor":"","admin-email-recipients":[],"user-email-title":"","user-email-editor":"","
   form-padding-top":"0","form-padding-right":"0","form-padding-bottom":"0","form-
   padding-left":"0","form-border-width":"0","form-border-radius":"0","cform-label-
   font-family":"Roboto","cform-label-custom-family":"","cform-label-font-size":"
   15","cform-label-font-weight":"500","cform-title-font-family":"Roboto","cform-
   title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"
   normal","cform-title-text-align":"left","cform-subtitle-font-family":"Roboto","
   cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-
   font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"
   Roboto","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-
   font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-custom-
   font":"","cform-radio-font-size":"14","cform-radio-font-weight":"normal","cform-
   select-font-family":"Roboto","cform-select-custom-family":"","cform-select-font-
   size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"
   Roboto","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","
   cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","
   cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-
   font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-custom-
   font":"","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","
   cform-button-font-family":"Roboto","cform-button-custom-font":"","cform-button-
   font-size":"14","cform-button-font-weight":"700","cform-timeline-font-family":"
   Roboto","cform-timeline-custom-font":"","cform-timeline-font-size":"12","cform-
   timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-
   custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"
   normal","payment_require_ssl":"true,","submission-file":"delete","login-username-
   field":"text-1","login-password-field":"password-1","remember-me":"false","remember-
   me-label":"Remember Me","remember-me-cookie-number":"2","remember-me-cookie-type":"
   weeks","hide-login-form":"1","hidden-login-form-message":"","form_name":"user-
   login","form_status":"publish","cform-color-settings":"true","form-font-family":"
   custom","store":"1","honeypot":"1","use_ajax_load":"","use_donotcachepage":"1","
   use-custom-css":"1","custom_css":".forminator-button {border-radius: 5px;}\n.
   forminator-description-password {font-size: 21px;} \n.forminator-description-
   password p a {color: #2b2bad; font-size: 14px;}","button-submit-background-static":"#
   2b2bad","button-submit-background-hover":"#3333cc","button-submit-background-
   active":"#3333cc","response-success-background":"#81ad2b","response-success-border":"#
   99cc33","response-success-color":"#ffffff","input-border":"#dedede","input-border-
   hover":"#2b2bad","input-border-active":"#3333cc","cform-validation-font-size":"
   14","cform-description-font-size":"13"},"client_id":null,"notifications":[]},"
   status":"publish","version":"1.14.10.1"}`
 * `{"type":"form","data":{"fields":[{"id":"html-2","element_id":"html-2","form_id":"
   wrapper-4283-7","type":"html","options":[],"cols":12,"conditions":[],"wrapper_id":"
   wrapper-4283-7","field_label":"","variations":"<h2><span class=\"headline\">Register
   </span></h2>","required":false,"formid":"wrapper-4283-7"},{"id":"text-2","element_id":"
   text-2","form_id":"wrapper-8731-7130","type":"text","cols":12,"required":true,"
   field_label":"Username","placeholder":"","wrapper_id":"wrapper-8731-7130","required_message":"
   Please enter a username.","formid":"wrapper-8731-7130","conditions":[]},{"id":"
   email-2","element_id":"email-2","form_id":"wrapper-214-2509","type":"email","
   cols":12,"required":true,"required_message":"Please enter your email address.","
   field_label":"Email","placeholder":"","validation":"true","validation_message":"
   This is not a valid email.","wrapper_id":"wrapper-214-2509","conditions":[],"
   formid":"wrapper-214-2509"},{"id":"password-2","element_id":"password-2","form_id":"
   wrapper-9740-8685","type":"password","cols":12,"required":false,"required_message":"
   Please enter a password.","field_label":"Password","placeholder":"","description":"","
   confirm-password-label":"Confirm Password","confirm-password-placeholder":"","
   strength":"strong","strength_validation_message":"Please enter a stronger password
   using 8 or more characters with a mix of letters, numbers and symbols.","validation":"
   true","validation_message":"Your passwords don't match.","required_confirm_message":"
   Please confirm your password.","wrapper_id":"wrapper-9740-8685","confirm-password":
   true,"conditions":[],"formid":"wrapper-9740-8685"}],"settings":{"pagination-header":"
   nav","paginationData":{"pagination-header-design":"show","pagination-header":"
   nav"},"formName":"Register","version":"1.14.10.1","form-border-style":"none","
   form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","
   form-style":"default","enable-ajax":"true","autoclose":"","submission-indicator":"
   show","indicator-label":"Registering…","form-type":"registration","submission-
   behaviour":"behaviour-redirect","thankyou-message":"Account registration successful.
   Click <a href=\"https://zingwithpam.com/wp-login.php\">here</a> to login to your
   account.","email-thankyou-message":"Account registration successful. Please check
   your email inbox to activate your new account.","manual-thankyou-message":"Account
   registration successful. A website admin must approve your account before you
   can log in. You’ll receive an email when your account is activated.","submitData":{"
   custom-submit-text":"REGISTER","custom-invalid-form-message":"Error: Your form
   is not valid, please fix the errors!"},"validation-inline":"","form-expire":"
   no_expire","use-admin-email":"true","form-padding-top":"0","form-padding-right":"
   0","form-padding-bottom":"0","form-padding-left":"0","form-border-width":"0","
   form-border-radius":"0","cform-label-font-family":"Roboto","cform-label-custom-
   family":"","cform-label-font-size":"15","cform-label-font-weight":"500","cform-
   title-font-family":"Roboto","cform-title-custom-family":"","cform-title-font-
   size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","
   cform-subtitle-font-family":"Roboto","cform-subtitle-custom-font":"","cform-subtitle-
   font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"
   left","cform-input-font-family":"Roboto","cform-input-custom-font":"","cform-
   input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"
   Roboto","cform-radio-custom-font":"","cform-radio-font-size":"14","cform-radio-
   font-weight":"normal","cform-select-font-family":"Roboto","cform-select-custom-
   family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","
   cform-multiselect-font-family":"Roboto","cform-multiselect-custom-font":"","cform-
   multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-
   font-family":"Roboto","cform-dropdown-custom-font":"","cform-dropdown-font-size":"
   16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","
   cform-calendar-custom-font":"","cform-calendar-font-size":"13","cform-calendar-
   font-weight":"normal","cform-button-font-family":"Roboto","cform-button-custom-
   font":"","cform-button-font-size":"14","cform-button-font-weight":"700","cform-
   timeline-font-family":"Roboto","cform-timeline-custom-font":"","cform-timeline-
   font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-
   family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","
   cform-pagination-font-weight":"normal","payment_require_ssl":"true,","submission-
   file":"delete","options":[],"site-registration":"enable","site-registration-name-
   field":"text-1","site-registration-title-field":"text-1","site-registration-role-
   field":"administrator","activation-method":"default","activation-email":"none","
   registration-username-field":"text-2","registration-email-field":"email-2","registration-
   password-field":"auto","registration-role-field":"customer","confirmation-page":"
   20","automatic-login":"1","hide-registration-form":"1","hidden-registration-form-
   message":"","form_name":"register","form_status":"publish","use-custom-css":"
   1","custom_css":".forminator-button {border-radius: 5px;}","cform-color-settings":"
   true","button-submit-background-static":"#2b2bad","button-submit-background-hover":"#
   3333cc","button-submit-background-active":"#3333cc","input-border":"#dedede","
   input-border-hover":"#2b2bad","input-border-active":"#3333cc","response-success-
   border":"#99cc33","response-success-background":"#81ad2b","response-success-color":"#
   ffffff","redirect-url":"https://zingwithpam.com/join-classes/","honeypot":"1","
   use_ajax_load":"","use_donotcachepage":"1","store":"1","form-font-family":"custom","
   cform-description-font-size":"13","cform-validation-font-size":"14"},"client_id":
   null,"notifications":[]},"status":"publish","version":"1.14.10.1"}`
 * The only error I see in my debug log is:
 * `[04-Jun-2021 13:55:21 UTC] PHP Notice: wp_add_inline_script was called <strong
   >incorrectly</strong>. Do not pass <code><script></code> tags to <code>wp_add_inline_script()
   </code>. Please see <a href="https://wordpress.org/support/article/debugging-
   in-wordpress/">Debugging in WordPress</a> for more information. (This message
   was added in version 4.5.0.) in /home/*EDIT*/wp-includes/functions.php on line
   5313`
 * I have version 1.14.10.1 installed. Any help would be appreciated!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblank-validation-message-and-missing-field-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [5 years ago](https://wordpress.org/support/topic/blank-validation-message-and-missing-field-errors/#post-14524235)
 * Hi [@dugost](https://wordpress.org/support/users/dugost/),
 * Thank you for reaching to us.
 * I checked this further and was able to replicate the issue mentioned about the
   user login form. However, I wasn’t able to replicate the issue reported regarding
   the registration form.
 * I imported the user registration form that you have shared to a lab site and 
   confirmed the validation error shows up properly, please check the following 
   screenshot: [https://ibb.co/XsmhkkZ](https://ibb.co/XsmhkkZ)
 * Can you please check if a plugin or theme is conflicting and causing the issue?
   I hope the following flowchart of the troubleshooting process helps: [https://wpmudev.com/wp-content/uploads/2018/02/forminator-field-html-labels.png](https://wpmudev.com/wp-content/uploads/2018/02/forminator-field-html-labels.png)
 * I have brought the issue with the user login form to the attention of the Forminator
   team. They will be looking into it and a fix for this will be rolled out in one
   of our upcoming updates.
 * Kind Regards,
    Nebu John
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years ago](https://wordpress.org/support/topic/blank-validation-message-and-missing-field-errors/#post-14546719)
 * Hi [@dugost](https://wordpress.org/support/users/dugost/)
 * I hope you are doing well and safe!
 * We haven’t heard from you in a while, I’ll mark this thread as resolved.
 * Feel free to let us know if you have any additional question or problem.
 * Best Regards
    Patrick Freitas

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

The topic ‘Blank validation message and missing field errors’ is closed to new replies.

 * ![](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/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/blank-validation-message-and-missing-field-errors/#post-14546719)
 * Status: resolved