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

    Tracking which website submission came from.

    Asked by ryancole on June 06, 2011 at 01:11 PM

    Hello, I want to use the same form on multiple pages on my site and track which one the submission came from.  I have read the articles on the subject and understand, however I couldn't get it to work.  It was mentioned that the code should work with iframe.  So here is the iframe code I'm using, and the submission comes back with a blank in the BUILDING field.   Ideally I would like to use lightbox so is there a way to make it work with lightbox?  If not then if I could at least get it up and running with the iframe.  

     

     

    Here is the iframe code:

     

    </p> <p>

     

    Here is the lightbox code:

     

    Notifications:

    Page URL:
    http://ryancole.myubertor.com/Properties.php/Details/3

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 07, 2011 at 03:40 PM

    Hi,

    Looking at your source code and notification email, I found out that the html name for your hidden field is website7 and not building.

     

     

    For lightbox tracking, insert this in your lightbox embed codes:

    iframeParameters: { 'website7':'134york'
    },

    so it becomes:

    <script src="https://www.jotform.com/min/g=feedback" type="text/javascript">

    new JotformFeedback({

    formId:'11213731589',

    base:'https://www.jotform.com/',

    windowTitle:'Notifications:',

    background:'#FA020F',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:400, 

    iframeParameters:{

    'website7':'134york' 

    },

    });

    </script>

    <a id="lightbox-11213731589" style="cursor:pointer;color:blue;text-decoration:underline;">Notifications:</a>

     

    Let me know how this solution works for you. Feel free to contact us again if you encounter any other problems.


    Neil

  • Profile Image

    Answered by ryancole on June 08, 2011 at 12:25 PM

    That worked great.  How about for the feedback code.  Here is the code:

    <script src="//www.jotform.com/min/g=feedback" type="text/javascript">

    new JotformFeedback({

    formId: "11213731589",

    buttonText: "Notifications:",

    base: "http://www.jotform.com/",

    background:'#ED0231',

    fontColor:'#FFFFFF',

    buttonSide: "right",

    buttonAlign: "center",

    type:false,

    width: 400,height: 300});

    </script>

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 09, 2011 at 05:12 AM

    Hi Ryan,

    The solution I posted works the same way for feedback codes. Just apply the same changes to the code and it  should be good to go.

    If you need further assistance, please let us know. Thank you for using Jotform.


    Neil