JotForm: Uncaught TypeError: Object # has no method 'error'

  • Profile Image
    pib
    Asked on July 14, 2012 at 05:56 AM
  • Profile Image
    idarktech
    Answered on July 14, 2012 at 10:15 AM

    Hi,

    May we ask for more details about your question please? Like how to reproduce this error?

    We'll wait for your reply. Thanks!

  • Profile Image
    pib
    Answered on July 14, 2012 at 10:37 AM

    When I use jotForm.js in my form on chrome I see this error on the console. With Firefox this problem is not visible on the console.

    The stack error is :

     

    Uncaught TypeError: Object #<Object> has no method 'error' jotform.js:227
    (anonymous function)jotform.js:227
    _methodizedprototype.js:443
    fireContentLoadedEvent

     

    I haven't a form fully created with JotForm, I use JotForm to create a first version of my form and after I modify and complet my Form, so maybe it's a conflict with the js I used for the loading:

     <SCRIPT LANGUAGE="JavaScript">

    var nava = (document.layers);

    var dom = (document.getElementById);

    var iex = (document.all);

    if (nava)

    {

      chg = document.chargement

    }

    else if (dom)

    {

      chg = document.getElementById("chargement").style

    }

    else if (iex)

    {

      chg = chargement.style

    }

    largeur = screen.width;

    chg.left = Math.round((largeur/2)-200);

    chg.visibility = "visible";

     

    function Chargement()

    {

      chg.visibility = "hidden";

    }

    </SCRIPT>

     

    Thanks

  • Profile Image
    idarktech
    Answered on July 15, 2012 at 12:28 AM

    Hi,

    May I ask for the website URL where you've embedded your form so we can check it here with Chrome Browser? 

    Also, have you tried re-embedding your form using iframe code? Since form is called in iframe, it wont create any conflict with your page. Let us know what your results are.

    Thanks.