Class wwValidationErrors

A collection of Validation Errors that are used in a number of Web Connection objects.

Used in wwBusiness, Web Framework Controls, wwHtmlHelpers and a few other places.

Class Members

MemberDescription

AddError

Adds a validation error to the collection of errors.

o.AddError(lcMessage,lcField)

AddErrors

Adds an existing wwValidationErrors collection to this collection. Useful for merging errors from multiple sources into a single collection.

o.AddErrors(loErrors)

ToHtml

Generates an HTML <ul> list from the validation errors in the collection.

o.ToHtml(llAddName)

ToString

Generates linefeed separated string of validation errors.

o.ToString()

Requirements

Assembly: wwcollections.prg

© West Wind Technologies, 1996-2018 • Updated: 10/20/15
Comment or report problem with topic