JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Send Form data to SQLAsked by DCIDesigns on January 15, 2015 at 01:35 PM
I am trying to display form results from multiple forms on one web page. I have succesfully implemented the php code as on http://www.jotform.com/help/126-How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP
Everything works for one form but is there a way to introduce another form (on the same page) as a lightbox and send that forms data to another table on my database?
Unfortunately it is not possible to embed a Lightbox form into another form. We do not allow scripts to be embedded into our forms and since the Lightbox is Javasript based, the script would not load. You can use the Free Text (HTML) tool to embed one form into another. After inserting the field, click the HTML button in the form builder's toolbar, enter the link as explained here (being careful to insert valid HTML) click "OK" and save the form.
You could set the link to popup in a new tab, but the lightbox will not work for this purpose.
Let us know if you have any further questions and we will be happy to help.