Validating a rich text field in a webquerysave agent

I want to validate a rich text field on the Web. Actually I am writing a webquerysave agent, and in that agent I am checking to see if a rich text field on a form is blank. If it is, then it should give a message. Can you please provide me with a solution for this? Thank you.
In a WebQuerySave agent, I would get a handle on the NotesRichTextItem, then do a Len(NotesRichTextItem.Text) > 0 to check if more than 0 characters exist in the field.

Do you have comments on this Ask the Expert question and response? Let us know.

This was last published in August 2004

Dig Deeper on Web Development for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...