By default, Validation Text Area widgets require user input when published on a web page. You can, however, make the completion of text areas optional for the user.
To change the required status of a text area,
add the isRequired property to the constructor
and set its value to false, as follows:
<script type="text/javascript">
var textareawidget1 = new Spry.Widget.ValidationTextarea("textareawidget1", {isRequired:false});
</script>
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/WS02BCC0EA-4140-41f7-83CF-E7F73F6601AE.html
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.