I want to validate RTF for its value at the backend in an agent that runs from an action button. I want to check if RTF is empty or not. By empty I mean it does not contain ANY type of data especially pasted pictures.
I have already searched forum but could not find aything that could solve my problem.
Subject: Rich Text Field - Backend validation for pasted pictures
Thankyou all BUT …
I want to use Lotus Script. I don’t want to edit or delete RTF. I want to perform some action if RTF is empty. I tried the “RichTextNavigator” but it didn’t detect pasted picture.
Subject: Rich Text Field - Backend validation for pasted pictures
You have two basic choices for backend validation of this sort. You can either dump the contents to DXL and see whether there is any content you don’t want, bearing in mind that you will have some content even with an empty rich text field, or you can use a third party product such as our Midas Rich Text LSX, which has a ContainsSomething property which is set to True if there is anything other than an empty rich text field.