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 Does Not Work on Litmos

    Asked by technisourcetraining on September 27, 2016 at 01:17 PM

    Hello,

     

    I am working with my third party vendor for our LMS. The CSS code you supplied me with is preventing some aspects of the LMS from functioning properly. Here is an email I received back from the support team at the LMS vendor:

     

    "Hi Kevin, 


    Thank you for contacting Litmos support. 

    After reviewing the code it appears there may be an issue with the jotfor code. The jotfor is throwing an error message in the file feedback2.js?3.3.REV. That error message is throwing an error on all of our pages when it's used, but it's only breaking the course builder. Please work with jotfor to correct the error message. 

    Error message:
    feedback2.js?3.3.REV:2
    Uncaught TypeError: Cannot read property 'length' of undefined

    If you have additional questions please let me know and I would be happy to assist."

     

    They seem to think that the issue is coming from your code. Can you please assist with this?

     

    Best,

     

    Kevin

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 27, 2016 at 03:21 PM

    Hi,

    Thanks for reporting. 

    The problem is most likely due to script conflicts. The page where you have embedded the feedback form conflicts with the existing scripts on the site since we could not reproduce the problem on our test environment even embedding the form on platforms like Wordpress. 

    I suggest you try to switch to the prototype version of the feedback script. To do that, simply remove the number 2 found on the URL of the feedback embed code.

    Example:

    <script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript"> new JotformFeedback({ formId: "62705648227965", buttonText: "Untitled Form", base: "https://form.jotform.com/", background: "#F59202", fontColor: "#FFFFFF", buttonSide: "left", buttonAlign: "center", type: false, width: 700, height: 500 }); </script>

    Just remove the number 2 after the word feedback and then re-embed it on your page. See if that makes a difference.

    If not, please let us know the page where you have embedded your feedback form so we can inspect and further trouble the problem in our browser.

    Thank you!