ValidateThis API Documentation

ValidateThis.client.jQuery
Class ClientRuleScripter_MinPatternsMatch

WEB-INF.cftags.component
        extended by ValidateThis.client.jQuery.AbstractClientRuleScripter
            extended by ValidateThis.client.jQuery.ClientRuleScripter_MinPatternsMatch

public class ClientRuleScripter_MinPatternsMatch
extends AbstractClientRuleScripter

Fails if the validated property does not match at least 1 or the specficied ammount of regex patterns defined.


Method Summary
 any generateInitScript([string defaultMessage='Value did not match the pattern requirements.'], [Any locale=''])
          I generate the validation 'method' function for the client during fw initialization
 
Methods inherited from class ValidateThis.client.jQuery.AbstractClientRuleScripter
determineFailureMessage, generateAddMethod, generateAddRule, generateConditionJSON, generateRuleScript, generateRuleStruct, generateValidationJSON, generateValidationScript, getConditionDef, getCustomFailureMessage, getFailureArgs, getGeneratedFailureMessage, getMessageDef, getParameterDef, getRuleDef, getSafeSelectorScript, getValType, init, translate
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

generateInitScript

public any generateInitScript([string defaultMessage='Value did not match the pattern requirements.'], [Any locale=''])
I generate the validation 'method' function for the client during fw initialization.

Parameters:
defaultMessage
locale

ValidateThis API Documentation