Javascript not working on html tool

  • Profile Image
    dsurjoodeen
    Asked on July 22, 2010 at 06:41 AM

    Hi there,
    I have added some html and java code in the html tool but it does not seem to work on the form. (I have tested it on my html editor tool and it works there)
    Do you have any idea why?
    You can find the code on my form.

    Thanks

  • Profile Image
    aytekin
    Answered on July 22, 2010 at 08:41 AM

    Exactly which tool do you use? Is it covered on the list here:

    http://www.jotform.com/help/chapter-3-Share+Forms

  • Profile Image
    dsurjoodeen
    Answered on July 22, 2010 at 08:57 AM

    im using an opensource tool called NVU on my Mac.
    If i copy the source code into NVU, and then add the java script it works.
    But not on your form....

    I noticed the following:
    - If i paste the javascript in your html tool and click on complete. Then go back to edit the html - the javascript code is no longer there.


  • Profile Image
    aytekin
    Answered on July 22, 2010 at 09:40 AM

    It look like NVU does not like JavaScript code. 

    This page provides a work around. INstead of the adsense code, put the Javascript code provided by JotForm:

    http://nvu.wikispaces.com/FAQ+AdSense