Title: Uncaught ReferenceError
Last modified: December 6, 2017

---

# Uncaught ReferenceError

 *  Resolved [tatof](https://wordpress.org/support/users/tatof/)
 * (@tatof)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-12/)
 * Hey,
 * I’m using gravity forms with your plugin and when its enabled I get a “refrenceError”.
   
   This because of the following code:
 *     ```
       <script type="text/javascript">
           jQuery(document).ready(function($){
               var gforms = '.gform_wrapper form';
               $( gforms ).submit(function() {
                   $('<input>').attr( "type", "hidden" )
                       .attr( "name", "gf_zero_spam_key" )
                       .attr( "value", "(V8lhSU3eHr" )
                       .appendTo( gforms );
                   return true;
               });
           });
       </script>
       ```
   
 * Personaly it think it something with the jquery version difference. but the (“
   value”, “(“) isn’t helping either…

Viewing 1 replies (of 1 total)

 *  [Lucas Karpiuk](https://wordpress.org/support/users/karpstrucking/)
 * (@karpstrucking)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-12/#post-9757206)
 * Hey [@tatof](https://wordpress.org/support/users/tatof/),
 * Didn’t have any luck replicating this in testing. Can you confirm that you’re
   still seeing the error with all other plugins inactive and using a default theme?
   If the issue is a jQuery version difference, it’s likely caused by another plugin
   or the theme as we’re not queueing a specific version of jQuery.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Uncaught ReferenceError’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-zero-spam/assets/icon-256x256.png?rev=3470776)
 * [Gravity Forms Zero Spam](https://wordpress.org/plugins/gravity-forms-zero-spam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-zero-spam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-zero-spam/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-zero-spam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-zero-spam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-zero-spam/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lucas Karpiuk](https://wordpress.org/support/users/karpstrucking/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-12/#post-9757206)
 * Status: resolved