From 2f02ab8fcbb5f45bb92cb9546c0328769c290049 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 21 May 2006 22:48:55 +0000 Subject: Ensures control ID must start with a letter or underline character. --- framework/Web/Javascripts/js/validator.js | 2 +- framework/Web/Javascripts/prado/validation3.js | 336 ++++++++++++------------- framework/Web/UI/TControl.php | 2 +- framework/Web/UI/WebControls/TCheckBoxList.php | 12 +- 4 files changed, 176 insertions(+), 176 deletions(-) (limited to 'framework') diff --git a/framework/Web/Javascripts/js/validator.js b/framework/Web/Javascripts/js/validator.js index 66b48866..f77534a7 100644 --- a/framework/Web/Javascripts/js/validator.js +++ b/framework/Web/Javascripts/js/validator.js @@ -138,7 +138,7 @@ return this.trim($F(control));}},observeDatePickerChanges:function() {checked++;values.push(element.value);}});return{'checks':checked,'values':values};},getListElements:function() {switch(this.options.ControlType) {case'TCheckBoxList':case'TRadioButtonList':var elements=[];for(var i=0;iPrado.Validation class co-ordinates together the + * The Prado.Validation class co-ordinates together the * validation scheme and is responsible for maintaining references - * to ValidationManagers. - * + * to ValidationManagers. + * * The ValidationManager class is responsible for maintaining refereneces * to individual validators, validation summaries and their associated * groupings. - * + * * The ValidationSummary take cares of display the validator error messages - * as html output or an alert output. - * + * as html output or an alert output. + * * The TBaseValidator is the base class for all validators and contains * methods to interact with the actual inputs, data type conversion. - * + * * An instance of ValidationManager must be instantiated first for a * particular form before instantiating validators and summaries. - * - * Usage example: adding a required field to a text box input with + * + * Usage example: adding a required field to a text box input with * ID "input1" in a form with ID "form1". * * @@ -33,16 +33,16 @@ * *