Feedback button URL

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

  • Profile Image
    jonathan
    Answered 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
    Barkley
    Answered on September 25, 2012 at 11:04 AM
    It does not answer my question.

  • Profile Image
    idarktech
    Answered 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!