This article on Developer Works provides three methods to do it: I've already tried doing querysave.But the thing is I need to validate it before saving the document.I have turned off input validation so the HTML created from CKEditor can be passed into the controller action. I only have certain buttons on CKEditor enabled, but obviously someone could send whatever text they want down. I rarely have a need for users to input something that won't be encoded. The problem is, I don't want to convert the angle brackets.
What happens, if I click the submit it will first send an email then the --- Sub Querysave(Source As Notesuidocument, Continue As Variant) If ( Source.
This is very useful on a form that has RTF that are required entry fields.
Call this function from your validation routine to determine if your RTF is empty.
In first place I was thinking about creating hidden field and assign validation to it.
Then we could update first field, while we are inserting picture.
It works even if the rich 'text field contains a file attachment, doclink, or OLE object but does not contain any 'text.