NextGen Knowledge Center

CONFIRM Function

Use:Displays a window with a user-defined confirmation message and Yes and No buttons.
Syntax:
CONFIRM( «string» , «caption», «icon», «condition»)}
Arguments:

«string»
    Message that prompts the user to click Yes or No
«caption»
    Title of the window
«icon»
    Icon to appear in front of the message:
    WARNING = ! (default)
    INFO = i
    QUESTION = ?
«condition» (Optional)
    Condition that displays this window
Returns:1 = Yes

0 = No

Example:

Fields: txt_field, txt_input_field 
CONFIRM( Do you want to continue? , "Input field  is empty", WARNING, {template_name_.txt_input_field} = "")} 

Result: Yes or No