Best way to make a form within a lightbox.

Hi All,

I'm looking for suggestions for the best way to implement a 'widget' to appear in a lightbox which can be called from a few different places. It's a currency converter so I'd like to be able to pass default values to it (2x currencies and 1x value). Once open I'd like it to be possible to change the currencies via a standard select drop-down box in a HTML form. The problem is I don't think lightboxes work very well with forms in my limited experience.

How would you guys approach this? Thanks in advance for any advice.

John
worldofwiresAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

worldofwiresAuthor Commented:
To elaborate, I'm running PHP with jQuery and jQueryTools. The latter being the lightbox which I'll be using.

jQueryTools
Sapphire_Commented:
which CMS are you using?

Joomal, Dropal??

Or you programming your own PHP?

-sapphire
worldofwiresAuthor Commented:
Hi Sapphire,

All my own PHP (with MySQL). One call to jQueryTools which includes jQuery inside of it. Both around 12 months old and PHP is 5.2.6.

Thanks.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Sapphire_Commented:
the jQuery Tools has the Overlay tool.. have u tried that?

http://flowplayer.org/tools/demos/overlay/external.html

-sapphire
worldofwiresAuthor Commented:
Yes, that's the Overlay I will be using but when I try to make a form inside it, POSTing it closes the Overlay.
worldofwiresAuthor Commented:
In the end I did this by using AJAX for the form. Still got a few bugs to iron out but I'm pleased I'm using technology that it's little more up-to-date than I had planned in the post.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
worldofwiresAuthor Commented:
I solved it myself by changing the brief.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.