You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Ian Lycett on Wed 19 Jun 2002 in response to Form Validator R2.0
Fix: Problem with Rich Edit Applet
When Notes wants to save the data from the applet, it runs the_getEditAppletData() (spelling?) javascript function, which takes the output of
all RT applets on the form and updates the value of the field it's being
substituted for.
Whenever you need to check the value of the field, run the same function.
Another problem with the applet is that onChange events are not recognised. To
get round this, I defined my own event handlers for the focus() and blur()
events (which are recognised). The new handlers simply store the value on entry
(focus) and compare with the value on exit (blur). Because one object blurs
before the other is focused, this works satisfactorily (code avail. on req.)