From 2d32c6aa8f682771839531537334250cf4a731bc Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 31 Mar 2007 11:35:00 +0000 Subject: add inplacetext onkeypress suggestions --- demos/quickstart/protected/pages/Controls/Validation.page | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'demos/quickstart/protected/pages') diff --git a/demos/quickstart/protected/pages/Controls/Validation.page b/demos/quickstart/protected/pages/Controls/Validation.page index b93f6d49..3b41000c 100644 --- a/demos/quickstart/protected/pages/Controls/Validation.page +++ b/demos/quickstart/protected/pages/Controls/Validation.page @@ -181,6 +181,11 @@ function reset_validator()
  • The OnValidationSuccess event is raised after the validator has successfully validate the control.
  • The OnValidationError event is raised after the validator fails validation.
  • + +
    Note: +For Prado versions earlier than 3.1 the property names were OnError and OnSuccess. For Prado version 3.1 or later they are OnValidationError and OnValidationSuccess, respectively. +
    +

    The following example pop-up a message saying "hello" when the validator fails on the client-side. <com:TRequiredFieldValidator ... > -- cgit v1.2.3