You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Way to prevent form submit button from closing overlay? Created Mar 14, 2010

This thread is solved

Views: 1545     Replies: 3     Last reply Apr 6, 2010  
You must login first before you can use this feature

sf415

Posts: 5

Registered:
Mar 13, 2010

Way to prevent form submit button from closing overlay?

Posted: Mar 14, 2010

Hello.

I am using a form in my overlay, and it works fine, except that when you click submit, it closes the overlay, and I want to first display a thank you/success message (not-redirecting to another thank you page).

The form itself is basic, with the main action being:



<form action="/listings/featured-properties/59-main#wpcf7-f1-p236-o1" method="post" class="wpcf7-form">

<input value="Send" type="submit"></form>


Any ideas?

Thanks

John

knowbie

Posts: 1

Registered:
Mar 21, 2010

» Way to prevent form submit button from closing overlay?

Posted: Mar 21, 2010

Reply to: Way to prevent form submit button from closing overlay?, from sf415
Change the form to a div and bind form actions to the submit button.

sf415

Posts: 5

Registered:
Mar 13, 2010

» Way to prevent form submit button from closing overlay?

Posted: Apr 3, 2010

Reply to: » Way to prevent form submit button from closing overlay?, from knowbie
I'll give that a try. Thanks.

expressoracer

Posts: 1

Registered:
Apr 6, 2010

» » Way to prevent form submit button from closing overlay?

Posted: Apr 6, 2010

Reply to: » Way to prevent form submit button from closing overlay?, from sf415
Do you try ?
I'm very interesting too !
If ok, could you paste the code ?
Thanks !