Send Form data to SQL

  • Profile Image
    DCIDesigns
    Asked 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?

  • Profile Image
    david
    Answered 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.