PDA

View Full Version : form problems


sabret00the
07-28-2006, 12:37 PM
<form name="viewoptions" method="get" action="index.php">
<label class="asrlabels" onclick="this.form.submit()">
<input type="radio" name="asrshow" value="buddies" class="asrradio">
Show My Buddies Only</label>
<br>
<label class="asrlabels" onclick="this.form.submit()">
<input type="radio" name="asrshow" value="includeignore" class="asrradio">
Show People On My Ignore List</label>
<br>
<label class="asrlabels" onclick="form.submit()">
<input type="radio" name="asrshow" value="singleuser" class="asrradio">
Show A Single Users Shouts</label> <input name="user" type="text" size="5" maxlength="10" class="filteruserid">
<br>
<label class="asrlabels" onclick="this.form.submit()">
<input type="radio" name="asrshow" value="linkforimgs" class="asrradio">
Show Links For Images</label>
<br>
</form>

why is that not giving me any values for 'asrshow'?

i needed to have <label><input></label>

Princeton
07-31-2006, 06:42 PM
try

<form name="viewoptions" method="get" action="index.php">
<label for="buddies">
<input type="radio" name="asrshow" id="buddies" value="buddies" class="asrradio" onclick="this.form.submit()" />
Show My Buddies Only</label>
<br />
<label for="includeignore">
<input type="radio" name="asrshow" id="includeignore" value="includeignore" class="asrradio" onclick="this.form.submit()" />
Show People On My Ignore List</label>
<br />
<label for="singleuser">
<input type="radio" name="asrshow" id="singleuser" value="singleuser" class="asrradio" onclick="this.form.submit()" />
Show A Single Users Shouts</label>
<input type="text" name="user" size="5" maxlength="10" class="filteruserid" />
<br />
<label for="linkforimgs">
<input type="radio" name="asrshow" id="linkforimgs" value="linkforimgs" class="asrradio" onclick="this.form.submit()" />
Show Links For Images</label>
</form>