Spry

Specify minimum and maximum values

This option is only available for the "integer", "date", "time", "currency", and "real" validation types.

 To specify minimum or maximum values in the text field, add the minValue property or maxValue property (or both) and a value to the constructor, as follows:
<script type="text/javascript">
	var tf1 = new Spry.Widget.ValidationTextField("textfieldwidget1", "validation_type", {minValue:value, maxValue:value});
</script>

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/en_US/Spry/SDG/WS80AAE1F7-D32F-40fe-9674-EBD5E7D3116C.html