Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -N -r1.36.2.37 -r1.36.2.38 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 21 Apr 2017 14:24:57 -0000 1.36.2.37 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 21 Apr 2017 16:32:32 -0000 1.36.2.38 @@ -172,7 +172,7 @@ # ad_proc -private ad_page_contract_set_validation_passed { key } { - Call this to signal that a certain validation block has passed successfully. + Call this to signal that a certain validation block has passed successfuly. This can be tested later using ad_page_contract_get_validation_passed_p. @param key Is the key, in the format of either formal_name or formal_name:flag_name. @@ -494,11 +494,11 @@

Each validation block can also have a -requires switch, which takes a list of - validations that must already have been successfully passed, for the validation to get executed. + validations that must already have been successfuly passed, for the validation to get executed. The intent is that you want to provide as much feedback as possible at once, but you don't want redundant feedback, like "foo must be an integer" and "foo must be in range 10 to 20". So a check for foo in range 10 to 20 would have a -requires { foo:integer } switch, - to ensure that the check only gets executed if foo was successfully validated as an integer. + to ensure that the check only gets executed if foo was successfuly validated as an integer.