Title: How do I submit the form from javascript
Last modified: August 24, 2016

---

# How do I submit the form from javascript

 *  Resolved [dgcov](https://wordpress.org/support/users/dgcov/)
 * (@dgcov)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/)
 * I want to submit the registration form from a javascript function.
 * I have removed the Simplr Registration Form + submit button and added my own 
   button which fires a javascript routine.
 * I had hoped to submit the Registration form with “document.getElementById(‘simplr-
   reg’).submit();”, but this doesn’t appear to work.
 * [https://wordpress.org/plugins/simplr-registration-form/](https://wordpress.org/plugins/simplr-registration-form/)

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

 *  Plugin Author [mpvanwinkle77](https://wordpress.org/support/users/mpvanwinkle77/)
 * (@mpvanwinkle77)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009432)
 * Are there any errors in the debugger console?
 *  Thread Starter [dgcov](https://wordpress.org/support/users/dgcov/)
 * (@dgcov)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009486)
 * You mean the Firefox firebug console?
 * Only this:
 * “Error: fbcdn-profile-a.akamaihd.net : server does not support RFC 5746, see 
   CVE-2009-3555”
 * but I suspect that is from my Facebook plugin.
 *  [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009492)
 * Hmm, I added that line to my page template, and it kept on submitting :).
 * Can you share the url of your website, so we can have a look?
 *  Thread Starter [dgcov](https://wordpress.org/support/users/dgcov/)
 * (@dgcov)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009510)
 * Thanks for the assistance.
 * I was using my own validation routine (and captcha functions) which I have now
   abandoned and it’s working fine. It must’ve been something in my code.
 * If you are still ineterested, the url is haroldwoodrc.co.uk
 *  [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009512)
 * Ok, great :).
 * I don’t see anything strange on your page.

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

The topic ‘How do I submit the form from javascript’ is closed to new replies.

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

 * 5 replies
 * 3 participants
 * Last reply from: [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-submit-the-form-from-javascript/#post-6009512)
 * Status: resolved