Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Gravity Forms update 1.9.12.1 ? #23

Closed
amosarnold opened this issue Jul 23, 2015 · 4 comments
Closed

Problems with Gravity Forms update 1.9.12.1 ? #23

amosarnold opened this issue Jul 23, 2015 · 4 comments

Comments

@amosarnold
Copy link

Anyone having issues with plugin after Gravity Forms update 1.9.12.1 ? I can't get my iframe to show up correctly now. I have a few "Uncaught ReferenceError: jQuery is not defined" errors.

Trying to get things to work on this page: https://emethgym.com/classes%20copy.html

@px-progers
Copy link

I experienced a similar issue with Gravity Forms 1.9.13. jQuery was not included on the page when viewing the embedded form as a logged in user. However, the form rendered fine when not logged in. I resolved the issue by printing jQuery myself in the gravity-forms-iframe.php override template, with the following block:

Right after opening <body> tag:

<?php
// print jquery since gravityforms/form_display.php:1618 prints it only if jquery has not been enqueued
if (wp_script_is('jquery')) {
    wp_print_scripts('jquery');
}
?>

@bradyvercher
Copy link
Member

I haven't been able to reproduce this, however it may be related to #27. Feel free to reopen this if that fix doesn't clear it up.

@amosarnold
Copy link
Author

Thank you sir! That last commit seems to have fixed it. I had forms that weren't loading if they had any conditional field logic. I updated to the latest and it is working now.

Amos

@bradyvercher
Copy link
Member

Very cool! Thanks for letting me know that fixed it. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants