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

    Feedback button URL

    Asked by Barkley on September 25, 2012 at 10:24 AM

    How can I add a feedback button with the page URL?

    The code I added to the page is:

    <!-- The following is a script to capture the current URL -->

    <script>

    document.getElementById('input_11').value=location.href;

    </script>

    <!-- The above is a script to capture the current URL -->

    Page URL:
    http://www.foxmls.com/Buy/IL/Naperville.aspx

  • Profile Image
    JotForm Support

    Answered by jonathan on September 25, 2012 at 10:41 AM

    Hi,

    Please check this guide -How-to-create-a-Feedback-Button-in-minutes.

    Please inform us if this is not what you were looking for.

    Thanks.

  • Profile Image

    Answered by Barkley on September 25, 2012 at 11:04 AM
    It does not answer my question.

  • Profile Image
    JotForm Support

    Answered by idarktech on September 25, 2012 at 11:26 AM

    @Barkley,

    You can actually add location.href directly on your feedback codes using iframe parametes. Example:

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

    new JotformFeedback({

    formId:'22012344674345',

    base:'http://jotformeu.com/',

    windowTitle:'quote',

    background:'#FFFFFF',

    fontColor:'#FFFFFF',

    type:2,

    height:430,

    width:510,

    iframeParameters: {

    'product':window.location.href

    }

    });

    </script>

    ------------

    product is the name of the hidden field (just an example). I think yours is clickTo11

    Please check this guide for more info: http://www.jotform.com/help/83-Adding-parameters-in-Lightbox-and-Feedback-forms

    Do let us know if you need further clarifications regarding this. Thanks!