Spry

Specify a minimum and maximum number of characters

 To specify a minimum or maximum number of characters, add the minChars property or maxChars property (or both) and a value to the constructor, as follows:
<script type="text/javascript">
	var textareawidget1 = new Spry.Widget.ValidationTextarea("textareawidget1",{minChars:value, maxChars:value});
</script>

Comments

Comments are no longer accepted for Spry 1.4. Spry 1.6 is the current version. To discuss Spry 1.4, please use the Adobe forum.

 

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

Current page: http://livedocs.adobe.com/en_US/Spry/1.4/WS066E4AFC-61A2-4ada-B02D-3914C63A1CA1.html