Title: Javascript validation is incorrect
Last modified: August 21, 2016

---

# Javascript validation is incorrect

 *  [althe3rd](https://wordpress.org/support/users/althe3rd/)
 * (@althe3rd)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-validation-is-incorrect/)
 * I am using version 1.6.43 and none of my forms submit because they always claim
   required fields aren’t filled in regardless of them being properly entered.
 * I don’t have any javascript errors on the page so I am a bit confounded on what
   is causing this.
 * Any ideas?
 * [http://wordpress.org/plugins/wordpress-form-manager/](http://wordpress.org/plugins/wordpress-form-manager/)

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

 *  Thread Starter [althe3rd](https://wordpress.org/support/users/althe3rd/)
 * (@althe3rd)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-validation-is-incorrect/#post-4487317)
 * I did a bit more looking and it appears that
 * `typeof(e.ph_hasEdit)`
 * always returns “undefined” even when the field is filled in correctly.
 * that is on line 202 of userscripts.js
 * Any thoughts on why this is?
 *  Thread Starter [althe3rd](https://wordpress.org/support/users/althe3rd/)
 * (@althe3rd)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-validation-is-incorrect/#post-4487406)
 * Looks like the issue is specific to my theme. I’ll keep working on it and let
   you know what i find.
 *  Thread Starter [althe3rd](https://wordpress.org/support/users/althe3rd/)
 * (@althe3rd)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-validation-is-incorrect/#post-4487476)
 * So I resolved my own issue. It turns out there was a seperate javascript function
   that had replicated some of the DOM which meant there were duplicates of several
   form elements.
 * Having fixed that issue everything is working great. Sorry for the false alarm.
   Hopefully anyone concerned by my original post reads this entry.
 * Thanks!

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

The topic ‘Javascript validation is incorrect’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

## Tags

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

 * 3 replies
 * 1 participant
 * Last reply from: [althe3rd](https://wordpress.org/support/users/althe3rd/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-validation-is-incorrect/#post-4487476)
 * Status: not resolved