Jump to content

PHP form in lightBox


netpumber

Recommended Posts

Hello!

 

I have a simple form in a html popup window with javascript and i want to make the form to load in a lightbox and not in popup window I will use php to get the data from the form.

 

Is this possible ?  Have you got any reference on a tutorial about this ? I search in the web but things looks  :confused:

 

What are you suggesting me ?

 

Thanks in advance!

Link to comment
Share on other sites

To achieve what you are asking you must dissect the entire lightbox script. Right now it looks for the Element Attribute src and takes that value to produce a picture. You must allow the script to find a Link that has some id in it that tells the script where the form is at. Making the form dynamic using ajax would be really cool and if you could get it to go back to the lightbox loading circle after you hit submit would be really cool. I think this would be possible with a little reverse engineering. Good luck and let me know if you find anything!

 

Thanks,

Colton Wagner

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.