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

Your preferred username that is used when logging in.

Using a form inside overlay Created Aug 31, 2010

This thread is solved

Views: 1216     Replies: 2     Last reply Sep 3, 2010  
You must login first before you can use this feature

vitalworks

Posts: 8

Registered:
Jan 11, 2010

Using a form inside overlay

Posted: Aug 31, 2010

Hi,

I've been looking at the modal overlay and can see options for yes/no and user input. I'm sure it is possoble to do what I want but need a little help- I'd like to display a form inside the overlay, just a brief one with maybe two inputs being name and telephone number with options to submit or exit/close. I'm fine with the HTML form aspect, but ideally I'd like the overlay to exit on either form submission or when the user clicks exit/close.

Any help or pointers would be appreciated.

Jon.

p3drosola

Posts: 3

Registered:
Sep 3, 2010

Just take a look at the user input demo

Posted: Sep 3, 2010

Reply to: Using a form inside overlay, from vitalworks
http://flowplayer.org/tools/demos/overlay/modal-dialog.html

pay attention to the way that the default form action can be canceled an handled however you want.

vitalworks

Posts: 8

Registered:
Jan 11, 2010

» Just take a look at the user input demo

Posted: Sep 3, 2010

Reply to: Just take a look at the user input demo, from p3drosola
Hi- thanks for your kind response. I see what you mean although having only just started to study javascript, i wouldn't be sure how to configure this myself! I've actually got a form working inside overlay now. What I'd like is the submit button to submit the form but not close the overlay, which it would seem is the default behaviour, so that the thanks for your info statement can display in the overlay before it closes. The user can then close the overlay using a different method. do you know how I could stop the submit button closing the overlay?

Thanks.