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.

Add style support to preview.php

  1. bradvin
    Member

    Hey Guys,

    I have been playing around with adding my own custom fields. For one of them I am adding some JS and CSS to the page to show a tag style input.

    The jQuery plugin I use for the effect can be seen here :

    http://aehlke.github.com/tag-it/examples.html

    Anyway, the plugin needs some custom CSS added to the page, and although I can do this using WP hooks, the Gravity Forms preview.php page does not allow for it.

    Basically, the preview.php file is missing a call to wp_print_styles();
    I added it on line 35, before the call to wp_print_scripts();

    Would it be possible to add this to the code your side for the 1.6 official release?

    Thanks a bunch
    Brad

    Posted 12 years ago on Monday October 17, 2011 | Permalink