How to check if RichText field has a file attachment before saving document?

Hi,

I have a rich text field that is a mandatory field. Users needs to fill in this field with text or file attachment before To Save.



But I can't test if an embeddedobject is or not created if the document is not saved. 

Have you an idea to solve this problem ?

Thank in advance for your help.

Subject: @Attachmentnames?

Not tested. However, that command schould be empty, when there is none. - But if you have multiple places where Attachments might be, it could well be not the solution for your.

Subject: I found this in the notes 6 & 7 forum.

Date

Topic

10/12/2007

2

Check for an attachment (Nancy J Domzalski)

RE: Check for an attachment  (Randall W Stone 10/13/2007)









	RE: Check for an attachment  (Nancy J Domzalski 10/14/2007)

alternatively, if you can’t use LS, you could use @attachments in a field validation.

Subject: The document is not still saved

Thank you both for your response.

the problem is when the document is not still saved (the RT field object is not created again) so I can check if there is or not object in the RT field.

Maybe, it is possible to check via UI if an object is or not here in the RT field.

I don’t know if I take a wrong way or I miss something.

Sam.