hello
I create a forms with Gravity , and i need when people click on submit button to send me data by mail and in the same time open a lighbox?
Someone got a tutorial for that ?
Thanks for help
hello
I create a forms with Gravity , and i need when people click on submit button to send me data by mail and in the same time open a lighbox?
Someone got a tutorial for that ?
Thanks for help
The email notification will be sent to the admin of the site containing all the submitted data by default. But what is going to be in your lightbox after the form submission? You may be able to use the form confirmation for that, but I'm not sure exactly what you're trying to show, and exactly when that would be. Is it instead of the form confirmation? Or would the confirmation be in the lightbox?
in fact when data send me by email, i need people see an open box where they can see calendar and paypal button. So submit button send data and open a new pages where i put my calendar reservation and paypal payement?
here an exemple :
I'll ask the development team if there is an approach we can use here.
I see three options:
1- setup your form confirmation as "redirect" or "page" and send users to a page where the calendar is and the paypal button will reside
2- setup your form confirmation as "text" and write your html in the confirmation text. That way, when the form is submitted, your markup will be displayed.
3- to open a new popup, you can use the "text" confirmation as well, but write javascript code to popup your window. Something like the following will probably do the trick
<script type='text/javascript'>
jQuery(document).ready(function(){
jQuery.facebox('<iframe width="400" height="400" name="targetbox"></iframe>');
});
</script>
thanks for your answer i am going to try