Log inRegister

PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


validate( $request, \@formFields, \@validationRules ) → \@errors

- fields in request object must be defined in $fields - field values in request object must obey the rules in $validationRules

Returns list of Foswiki::Plugins::FormPlugin::Validate::Error objects.

Currently only checks fields with syntax '#id'.