webCOMAND

#WARNING

Log a warning event to the event log.  When the cTemplate is processed as part of a publish, it will be logged to the publish System Task, but publishing will continue.  When processed as part of a content validation (ie. from the Validate content type template), a warning will be displayed in the alert bar.

Prototype

#WARNING($message)

Parameters

  • message - The warning text to display.

Example

#IF($FirstName != '')
    #WARNING("First Name must be provided.")
#ENDIF

Related

#DEBUG, #ERROR, #NOTE