internal package Foswiki::Plugins::FormPlugin::Validate::BackendValidator

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'.

Topic revision: r1 - 21 Nov 2014, ProjectContributor
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback