View Single Post
Old 11-06-2009, 05:41 PM   #5
deafboyzaudio
 
Join Date: Jul 2009
Location: west coast, U.S.A.
Posts: 176
Default

Ok did that and it works. Thanks a lot DWcourse!!!!

I did have one other question though regarding some other spry options if you guys dont mind....
Code:
<label for="song" class="margin">Song Name:</label>
        <br />
        <span id="sprytextfield2">
  <input name="song" type="text" class="indent" id="song" tabindex="20" size="13" maxlength="30" />
  <span class="textfieldRequiredMsg">Required</span></span>
        
<label for="artist">Artist:</label>
        <span id="sprytextfield1">
          <input name="artist" type="text" id="artist" tabindex="30" size="13" maxlength="30" />
          <span class="textfieldRequiredMsg"></span></span>
        
<input type="checkbox" name="unknown" id="unknown" tabindex="" />
        <label for="unknown">Unknown</label><p>
Thats some code for a differnt part.... I want the song name and artist required with spry, but if the user checks the 'unknown' box, I want those text fields to not be required....
would this be done with javascript or a php if statement? can you give a hint to how that might be done? Thank you much
deafboyzaudio is offline   Reply With Quote