Title: [Plugin: WordPress Form Manager] Javascript errors?
Last modified: August 20, 2016

---

# [Plugin: WordPress Form Manager] Javascript errors?

 *  Resolved [ibc3](https://wordpress.org/support/users/ibc3/)
 * (@ibc3)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-javascript-errors/)
 * Hi! Just want to say, I agree with previous comments that this is the best WP
   form manager I’ve used.
 * I noticed that recently I’ve been getting some javascript errors on my page that
   are related to this plug-in. I have made changes to several things, but even 
   when I back those out, I’m getting these errors.
 * site: testingtogether.org
 * userscripts.js
    Line: 39 Error: Unable to set value of the property ‘onclick’:
   object is null or undefined
 * I also created a template that calls fm_form_submit_btn_script(); which translates
   to fm_validate(5), but it is getting undefined.
 * Any ideas what I’m doing wrong?
 * [http://wordpress.org/extend/plugins/wordpress-form-manager/](http://wordpress.org/extend/plugins/wordpress-form-manager/)

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

 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-javascript-errors/#post-2136868)
 * You are not doing anything wrong, there is a mistake in the FAQ and in the template
   functions. I’ll have an update up shortly.
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-javascript-errors/#post-2136871)
 * Okay – you need to add id=”<?php echo fm_form_submit_btn_id();?>” to the submit
   button. This is new. Also the script() function should be returning an actual
   function. This is as of 1.5.16.
 *  Thread Starter [ibc3](https://wordpress.org/support/users/ibc3/)
 * (@ibc3)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-javascript-errors/#post-2136906)
 * Thanks for the quick fix! I updated my templates & it is now working error-free!

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

The topic ‘[Plugin: WordPress Form Manager] Javascript errors?’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [ibc3](https://wordpress.org/support/users/ibc3/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-javascript-errors/#post-2136906)
 * Status: resolved