"document.applets[appletName].getText is not a function" on FireFox

Hi there.

I have a problem with my forms on Firefox.

When I try to save a doc, I get the following error:

“document.applets[appletName].getText is not a function” on the FireFox error console.

I also get that when I try to do a refresh using “_doClick(‘$Refresh’, this, ‘_self’, ‘’)”

On viewing the source, I found it in the “_getEditAppletData()” function.

I do not get that error with the same form on Internet Explorer.

I’m guessing it must be a problem with a rich text field…so I tried using an applet to display the rich text field on both browsers but I still get that error only on firefox.

I also created a form with a single RTF and a save button (@command([filesave])) and it works correctly on firefox…

And on viewing the sources I found both forms to contain the same “_getEditAppletData()” function.

Does anybody have any idea(s) about why I’m having these problems on FireFox?

PS: Store Contents as HTML and MIME are unchecked in my rich text fields

Subject: “document.applets[appletName].getText is not a function” on FireFox

So I finally found what was wrong. It was indeed a rich text field. I had a hidden rich text field that stored files attached through a File Upload Control. This field had to be hidden from the user but “visible” to the code so I hid it using “display:none”. It worked fine on Internet Explorer but not on FireFox. This is really weird as when I view the source on FireFox I do get the applet with “lna” as prefix.