Method | Description | |
---|---|---|
GetValidationTriggerFunction ( ) : String |
Returns the form validation function.
|
|
GetValidationTriggerFunction ( String formElement ) : String |
Returns the form validation function.
|
|
GetValidationTriggerFunction ( String formElement, IDictionary options ) : String |
Returns the form validation function where you can override the options: The options that can be overriden: confirm (bool), disable (bool), groupError (bool), errorMode (int) |
|
InstallScripts ( ) : String |
Automatic Script installer.
|
|
InstallScripts ( string locale ) : string |
Installs the scripts.
|
|
SetSubmitOptions ( IDictionary parameters ) : void |
Configure the submit and validation options.
|
|
SetSubmitOptions ( bool confirm, bool disable, bool groupError, int errorMode ) : void |
Configure the submit and validation options.
|
|
ValidationHelper ( ) : System |
Constructor.
|
public GetValidationTriggerFunction ( ) : String | ||
return | String |
public GetValidationTriggerFunction ( String formElement ) : String | ||
formElement | String | Javascript expression that return the desired form. |
return | String |
public GetValidationTriggerFunction ( String formElement, IDictionary options ) : String | ||
formElement | String | Javascript expression that return the desired form. |
options | IDictionary | Custom options |
return | String |
public InstallScripts ( string locale ) : string | ||
locale | string | The locale. |
return | string |
public SetSubmitOptions ( IDictionary parameters ) : void | ||
parameters | IDictionary | |
return | void |
public SetSubmitOptions ( bool confirm, bool disable, bool groupError, int errorMode ) : void | ||
confirm | bool | True for submit confirmation. Otherwise, false. |
disable | bool | True for submit buttons disabling. |
groupError | bool | True for error grouping. |
errorMode | int | |
return | void |