View Single Post
Old 11-05-2009, 08:14 PM   #1
Join Date: Jul 2009
Location: west coast, U.S.A.
Posts: 176
Default Init val satisfing spry required text area

I have this code:
<textarea name="setup" cols="30" rows="2" class="indent" id="setup" tabindex="80" onfocus="if(this.value == 'Give a brief description of your Car Audio upgrades...') {this.value = '';}">Give a brief description of your Car Audio upgrades...</textarea>
That particular text area has the 'initial value' as you can see.... and that text area is required to have text in it by way of spry.

My issue is this... if the user skips over this text area, the spry thinks that the initial value is actually what the user types in, so it doesnt throw an error...

how do i make it so that spry sees this init val as no value at all?

deafboyzaudio is offline   Reply With Quote