@IsResponseDoc (Formula Language)
Indicates whether a document is a response to another document.
Syntax
@IsResponseDoc
Return value
flag
Boolean
- Returns 1 (True) if the document is a response document
- Returns 0 (False) if the document is not a response document
- Returns 0 for new documents, since @IsResponseDoc doesn't recognize a document type until after the document is saved
Usage
A response document is one that was composed with a form which has a type of either Response or Response to Response. The designer uses the Form InfoBox to specify the type.
Examples
This example returns Response if the document is a response; Topic if the document is not a response.@If(@IsResponseDoc;"Response";"Topic")