Title: javascript on page editor
Last modified: August 25, 2020

---

# javascript on page editor

 *  Resolved [foxydot](https://wordpress.org/support/users/foxydot/)
 * (@foxydot)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-on-page-editor/)
 * I have a site that is using this plugin and Avada theme. The form has a require
   field. The backend edit tools are attempting to render the form, and thus the
   javascript validator is hijacking the “update” function on the page, and complaining
   about being unable to focus the non-existent form field.
 * It seems like the simplest solution here would be to check that the user isn’t
   on an edit panel before calling the script. Is that possible?

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

 *  [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * (@prashantrai)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-on-page-editor/#post-13321356)
 * Hello [@foxydot](https://wordpress.org/support/users/foxydot/),
 * Thanks for contacting us!
 * When you have sometime, can you please share the URL where form is embedded so
   I can take a closer look?
 * Thanks!
 *  [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * (@prashantrai)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-on-page-editor/#post-13346963)
 * Hello [@foxydot](https://wordpress.org/support/users/foxydot/),
 * We haven’t heard back from you in about a week, so I’m going to go ahead and 
   close this thread for now. But if you’d like us to assist further, please feel
   welcome to continue the conversation (please just see my post above).
 * Thanks!

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

The topic ‘javascript on page editor’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [validator](https://wordpress.org/support/topic-tag/validator/)

 * 2 replies
 * 2 participants
 * Last reply from: [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-on-page-editor/#post-13346963)
 * Status: resolved