Support » Plugin: Gravity Forms Zero Spam » Uncaught ReferenceError

  • Resolved tatof

    (@tatof)


    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)
  • Plugin Author Lucas Karpiuk

    (@karpstrucking)

    Hey @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.