When inserting a form with conditional logic or text count via shortcode in the wysiwyg editor, say...
[gravityform id="4" name="Quote - Remote Backup" description="false"]
the form loads up no problem. However if I use say...
<?php echo do_shortcode('[gravityform id="4" name="Quote - Remote Backup" description="false"]'); ?>
in a template the form is automatically hidden, I believe due to Javascript issues.
I get a few Javascript errors in firebug.
"gf_apply_rules is not defined"
"Uncaught TypeError: Object[object Object] has no method 'textareaCount'"
I have tried disabling all plugins, switching to the 2011 theme, removing custom javascript files that I call in my header.
It might also be worth mentioning that I use the advanced custom fields plugin found here and when inserting a shortcode in a wysiwyg textarea created by this plugin the forms will have the same issues, only through the standard wordpress wysiwyg editor will the forms display, with no Javascript error.
Cheers