Strange richtext field behaviour in WEB

I have a strange problem with richtext fields in a WEB Form (the same form is used in notes-client).

When i save the document (with document.submit()), the value in the richtext field isn’t saved! As soon i change the appearance to normal text instead of Applet or Best Fit for OS, it works normal…

Well i found out know where the “problem” is:

As soon i make the onload-Section empty the richtext fields saves also with Applet or BestFit4OS appearance. When i have just a single letter in the onload section, it doesn’t work anymore (also just a comment with “//” in front).

For web i call now the onload functions in the HTML-Body Section, and works fine (???)

But since i have to use the same form for Notes, i need the onload section (for client…), but as soon i write there any content (also just for Notes-Client), i cannot save the richtexts in WEB!

It’s really a strange problem, so if somebody of you had a similar problem i would be very glad if you can give me some tipps.

I’m used to strange behaviour with Domino…but this time i don’t have any workaround:-(

Subject: Strange richtext field behaviour in WEB

Well i have no a workaround…

i still had something in the onload Section for WEB… when i have this empty (Section contains now only code for notes-client), it works fine and i start the onload function in the body-Properties-Section…

But anyway, this is very strange, because i have a very similar form, and there it works fine… It seems, with very special constelations, this problem occurs.

This Javascript sections are not very good anyway, because the default is always code for notes - Client! So when i work on a R5 DB and make changes for ND6, i always forget to make the changes for WEB and NOTES, or switch to commonJavascript…