Title: Javascript Alert
Last modified: August 21, 2016

---

# Javascript Alert

 *  [SRVIVR](https://wordpress.org/support/users/srvivr/)
 * (@srvivr)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/)
 * I can’t seem to get this to work. I added **alert=”my phrase”** in the gform 
   shortcode. Ideas?
 * [https://wordpress.org/plugins/wpgform/](https://wordpress.org/plugins/wpgform/)

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

 *  Thread Starter [SRVIVR](https://wordpress.org/support/users/srvivr/)
 * (@srvivr)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/#post-5066472)
 * Not sure why it posted that link.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/#post-5066478)
 * The first thing I would do is NOT use the gform shortcode. Define your form using
   the user interface on the Dashboard and then use the “wpgform” shortcode.
 * The original “gform” shortcode was deprecated a while ago and I have not made
   any enhancements to it in more than a year. Maybe longer.
 *  Thread Starter [SRVIVR](https://wordpress.org/support/users/srvivr/)
 * (@srvivr)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/#post-5066485)
 * Ok. I tried “gform” because I couldn’t get it to work with “wpgform.”
 * I will try back, but am I missing something. Do I need a particular script somewhere
   else?
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/#post-5066496)
 * If your page has any sort of Javascript errors on it the alert will never run.
   I would check the error console or use a tool like Firebug to see if there are
   any errors during the page load process.
 * It is surprising to me how many themes and plugins have Javascript errors in 
   them. It is the primary source of the alert not working and validation not working.

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

The topic ‘Javascript Alert’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-alert/#post-5066496)
 * Status: not resolved