Hi,
I am trying to use the gform_confirmation_loaded function/script (http://www.gravityhelp.com/documentation/page/Gform_confirmation_loaded) with multiple forms on a single page. Somehow I can't manage to get it to work with parameters. Could some1 give an example of how the function utilizes the parameters / how I can set one .bind to one form, instead of it working with any form?
So far I have:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(document).bind('gform_confirmation_loaded_6', function(){
$("#hidden-form-7").css("visibility", "visible");
});
})
</script>
AND
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(document).bind('gform_confirmation_loaded', function(){
$("#hidden-form-7").css("visibility", "visible");
});
})
</script>
Which works, but unhides both, since both are bound to the gform_confirmation_loaded.
I tried gform_confirmation_loaded_5 , which doesnt work, and donno what to write here as a Event handler:
jQuery(document).bind('gform_confirmation_loaded', function( ???, 5 ){
All help is appreciated