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.

gravity forms inside a plugin

  1. Hi guys,

    I have added a gravity form that is also integrated to MailChimp inside a custom plugin that generates a signup landing page. The issue I have is that the plugin loads the whole page markup and does not utilize either wp_head() nor wp_footer(). I have attempted to manually add the links to the gform scripts and css and the form is still not functioning properly. Can you please guide me in the right direction as to what can be done. Here is a link to the page so you can take a look: http://www.emastery.com/signup

    Thanks
    SD

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  2. What does not work on the form? If you included the scripts and styles, there should be no problem with the form working.

    In addition, I was wondering what version of WordPress and Gravity Forms you're using. It looks like one or both are old. Can you verify the versions you have installed?

    Also, the HTML in the page is invalid. I saw at least one extra closing < div >. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.emastery.com%2Fsignup&charset=%28detect+automatically%29&doctype=Inline&group=0 That could have an effect, but I don't really think so.

    You might want to use gravity_form_enqueue_scripts http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts to properly load the required scripts.

    If I had to guess, it would be a mismatch or old version of Gravity Forms, WordPress and jQuery.

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink