WordPress.org

Forums

Displet Pop
[resolved] Error with Gravity Forms - Placeholders add-on (3 posts)

  1. loganl
    Member
    Posted 2 years ago #

    Great plugin, however it doesn't appear to work with a Gravity Forms add on that enables you HTML5 support to the gravity form. It's producing this error for me: https://www.evernote.com/shard/s212/sh/81c49a6d-a67e-4196-a12c-01c271146c54/c4fd48d8a98e77d141e42bc77b33ad7f

    http://wordpress.org/extend/plugins/displet-pop/

  2. displetdev
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks Logan. We'll take a look sometime today.

  3. displetdev
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Logan

    The script error you've provided a screenshot for is coming from JavaScript that is not ours. Regardless, I can immediately see why their JS has an error - WordPress loads jQuery in what's termed "no-conflict mode", which means the standard $ for jQuery shortcut will not work without wrapping the JS in a function similar to:

    // Start allowance of jQuery to $ shortcut
    jQuery(document).ready(function($){

    // Code comes here ...

    // Ends allowance of jQuery to $ shortcut
    });

    There is more on the subject at:
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Displet Pop
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.