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

  • Profile Image
    magcompanies
    Asked on May 18, 2015 at 08: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

  • Profile Image
    BDAVID
    Answered 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".

      g) Finally, refresh your browser.

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

    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.

  • Profile Image
    magcompanies
    Answered on May 26, 2015 at 02: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

  • Profile Image
    magcompanies
    Answered on May 26, 2015 at 02:58 PM

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

  • Profile Image
    BJoanna
    Answered on May 26, 2015 at 03: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?