## <sas:DateStringValidator>

Generates a a validator that validates a String value according to a DateFormat.

### Syntax

`<sas:DateStringValidator
[clearErrorsFunctionName="java.lang.String"]
[errorHandlerFunctionName="java.lang.String"]
[errorMessage="java.lang.String"]
[format="java.lang.String"]
[id="value"]
[instantiate="true|false"]
[ref="java.lang.String"]
[scope="page|request|session|application"]
[validationFunctionName="java.lang.String"] />`

### Attributes

`clearErrorsFunctionName` | The clear errors function name
`errorHandlerFunctionName` | The error handler function name
`errorMessage` | The validation error message
`format` | The date format of the DateStringValidator.
`id` | Case-sensitive name used to identify the object instance.
`instantiate` | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
`ref` | The variable String value that represents an object created earlier in the same scope.
`scope` | The scope (or page context) within which the reference is available.
`validationFunctionName` | The JavaScript validation function name

### More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.util.validators.DateStringValidator.

If you need to subclass the tag handler class for the sas:DateStringValidator tag, extend com.sas.taglib.servlet.tbeans.util.validators.DateStringValidatorTag.