PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

SuperSignature is not defined.

  1. Hello,

    I'm having a problem with the Signature add-on. I'm receiving the error "SuperSignature is not defined." The problem is the ss.js file is loading in the footer. What is the best way to force it to load in the head? I took a look at the plugin code, and it appears it's passing in 'false' for the $in_footer parameter in wp_enqueue_script, so I'm not sure how this is happening...

    I'm embedding the form through the gravity_form() template tag. Using the latest version of both GF and the add-on.

    Posted 5 years ago on Thursday August 23, 2012 | Permalink
  2. I solved this right after posting, sort of. I added:

    gravity_form_enqueue_scripts(3, false);

    I put this just before get_header() in my template. This works, but seems like a hack. If anyone has a better suggestion please share.

    Posted 5 years ago on Thursday August 23, 2012 | Permalink
  3. If you are embedding the form using the gravity_form() function, you need to enqueue your own scripts, exactly as you have done. It's not a hack. It's documented here

    http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Enqueue_Scripts_and_Styles

    When embedding a form via a function call you must also manually include the necessary Gravity Forms related Javascript and CSS via the built in WordPress enqueue capabilities. Gravity Forms does not include these by default when calling a form via a function call...

    Posted 5 years ago on Friday August 24, 2012 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only