onInvalidAttValueMessage()

onInvalidAttValueMessage()

This function is called when the default invalid attribute value message is about to be generated; this function can be used to ignore unknown attribute values and/or to change or display additional messages when certain unknown attribute values are used. The following variables are defined when this function is called and may be modified before the validator message is displayed: (New v11.0047)

CurrentAttName - the name of the attribute

CurrentAttValue - the attribute value that is invalid

$oiavm_msgtext - the message text of the validator message that will be generated

$oiavm_msgtextappend - an additional message that is appended to the end of $oiavm_msgtext; the default (if extended message info is enabled) is what the value may be, else an empty string

$oiavm_msgtextprepend - an additional message that is prepended to the front of $oiavm_msgtext; the default is an empty string

$oiavm_msgcat - the message category of the validator message that will be generated; the default is "" for no category

$oiavm_msgflags - the message flags value used when calling MessageEx() to generate the message; set to 0 to cancel the message

$oiavm_msgid - the message ID of the validator message that will be generated; the default is -1 for no message ID

$oiavm_msgtype - the message type of the validator message that will be generated; the default is $MSG_ERROR