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

    Pass PHP variables to Light Box

    Asked by Simon Lee on September 01, 2013 at 04:50 PM

    So I was using this code:


    <script src="http://www.jotform.com/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    iframeParameters: {

    windowTitle:'Website error form',
    <a id="lightbox-#########" style="cursor:pointer;color:blue;text-decoration:underline;">Website error form</a>


    But I want to pass PHP variables to feilds like so:

    <?php $var= $_GET['var']; ?>


    iframeParameters: {
    <?php echo $var; ?>'


    But this is not working, any suggestions?

  • Profile Image
    JotForm Support

    Answered by jonathan on September 01, 2013 at 05:23 PM

    Hi Simon,

    Can you please share to us the form where you are trying to do this? We will check further.