logo

New Response

« Return to the main article

You are replying to:

  1. Also, in order to make it work in a textarea field. I needed to move the "onChange" code from the HTML Attributes to the onChange event. The code is: this.className = (this.value!='') ? '' : 'RequiredField'

    And then I set the class in the properties for the field to "RequiredField".

    Without doing this, the text area shrunk down to a fairly small field for some reason.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: