<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Is there an easy way to use TAL/TALES to set
the checked values of radios and checkboxes and the selected attribute of
options?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to find a clean example.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For Instance:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<select
name="question_type"
id="question_type"><BR>
<option value="Text"
selected="selected">Text</option><BR>
<option
value="TextArea">TextArea</option><BR>
<option
value="ListSingle">ListSingle</option><BR>
<option
value="ListMulti">ListMulti</option><BR>
<option
value="ComboSingle">ComboSingle</option><BR>
<option
value="Option">Option</option><BR>
<option
value="Checkbox">Checkbox</option><BR>
</select></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If the question_type was in the REQUEST object, how
would I evaluate which one was selected?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Same goes for radio buttons:</FONT><FONT face=Arial
size=2><BR>
<input type="radio" name="required" value="1" /> Yes
<BR>
<input name="required" type="radio" value="0" checked="checked" />
No</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and the 'required' was in the REQUEST
object.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to do this using TAL/TALES
only.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any suggestions/code
samples.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV class=Section1>
<P><STRONG><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">Chris
Bruce</SPAN></STRONG><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana"><BR>Bionic Pixels
LLC<BR><U><A
href="http://www.bionicpixels.com">www.bionicpixels.com</A></U></SPAN></P>
<P><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">323-660-8444<BR>323-650-9926
fax</SPAN></P>
<P><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">964 1/2 N.
Vermont Ave.</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana"><BR></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">Los
Angeles</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">, </SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">CA</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana"> </SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Verdana">90029</SPAN></P>
<P class=MsoNormal> </P></DIV></DIV></BODY></HTML>