Form Not Functional in Firefox 37.0.2 for Mac(Javascript Issues)

  • magcompanies
    Asked on May 18, 2015 at 8:21 PM

    We have embedded a form in this site and in latest version of firefox 37.0.2 for mac, none of the javascript functions (like datepicker, button to go to next page, conditionals, etc..).  I wouldn't mind using just the pure iframe method (as it works in firefox), but it's a responsive-mobile site, and that will just look pretty bad for a professional website. Any thoughts to protect the javascript in the form?

    http://mercfuel.com/suppliers/sign-up

    Thanks in advance

    Dan

  • David JotForm Support Manager
    Replied on May 18, 2015 at 10:34 PM

    Please try the following:

    1) Make sure JavaScript is enable in your browser:

      a) Open a new Firefox browser window or tab.

      b) Copy the following then paste it into the Firefox address bar: about:config

      c) Hit the Enter key.

      d) On the following page, click the button: "I'll be careful, I promise!"

      e) Find the javascript.enabled row under the Preference Name heading.

      f) Double-click anywhere within the javascript.enabled row to toggle the value from "False" to   "True".

    Form Not Functional in Firefox 37 Screenshot 30

      g) Finally, refresh your browser.

    2) Since you do not like using iFrame,  you have to deal the script conflict.

    Form Not Functional in Firefox 37 Screenshot 41

    Here's how to deal prototype and jQuery conflicts. http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/

    3) I also think DOCTYPE declaration in your page should be updated to this one:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 

    Let us know what happens, we will be glad to assist you.

  • magcompanies
    Replied on May 26, 2015 at 2:40 PM

    It appears that there is an issue with firefox and jotform. I took the same form embed code (not iframe), and embedded the script in a blank firefox page, and same issue occurs. Thoughts to fix this or is this something that jotform is working on?

    Thanks in advance,
    Dan

    http://mercfuel.com/test-form.html

  • magcompanies
    Replied on May 26, 2015 at 2:58 PM

    It seems that there is some conflict within that form, because I tried another simple form in firefox, and it worked fine.

  • BJoanna
    Replied on May 26, 2015 at 3:35 PM

    Considering that we are recommending using of iFrame for embedding form to the websites, you have to deal the script conflict if you want to use script block.

    Did you try to with steps my colleague provided? 

    Also is this issue happening just on your Mac or issue is connected to other computers?