wwValidationErrors::AddError

Adds a validation error to the collection of errors.

o.AddError(lcMessage,lcField)

Parameters

lcMessage
Error message for this error.

You can also pass another validation error object which is then simply added as is.

lcField
Optional - associated control or id that the error originated from.


See also:

Class wwValidationErrors

© West Wind Technologies, 2023 • Updated: 08/24/15
Comment or report problem with topic