NOTES

AVAILABILITY

SOURCE

# Copyright 2006-2007 Interchange Development Group and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. See the LICENSE file for details.
#
# $Id: always_pass.oc,v 1.3 2007-03-30 23:40:48 pajamian Exp $
CodeDef always_pass OrderCheck 1
CodeDef always_pass Description Always succeeds
CodeDef always_pass Routine <<EOR
sub {
return (1, $_[1], '');
}
EOR

DESCRIPTION

EXAMPLES

FORM_FIELD_NAME=filter name "Name entered is not in format 'First Last'"

NOTES

For a list of all possible filters, see Interchange Reference Pages: Filters.
Filters that unconditionally modify input data are generally not suitable
for use with this order check; the data is always changed so it
always fails the validation.