NextGen Knowledge Center

ISEMPTY String Function

Use:Checks if a string in a data entry or note field is empty
Syntax:

{ISEMPTY( «string» )} 
{ISEMPTY( «string» )}=0 (can also be used to check for field that contains values; do not use =1)
Arguments:

«string»
    Character string to be evaluated
Returns:1 = True (empty)

0 = False (not empty)

Example:

{template_name_.memo_field} = contains text
{ISEMPTY(  template_name_.memo_field) }= 0 

-Or-


{ISEMPTY(  template_name_.memo_field) } 

Result: 0

Example:

{template_name_.note_field} = blank
{ISEMPTY(  template_name_.note_field) } 

Result: 1

Example:

{template_name_.text_field} = contains text
{ISEMPTY(  template_name_.note_field) } 

Result: 0