What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    Send Form data to SQL

    Asked by DCIDesigns on January 15, 2015 at 01:35 PM

    Hi,

    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?

    form data sql send form Submissions display form JotForm table
  • Profile Image
    JotForm Support

    Answered by david on January 15, 2015 at 02:20 PM

    Hi,

    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.