I can't seem to successfully add a radio button to this code. The 
ONE works great but if I try to duplicate it, it wont add to 
database. Here is code:



<%
dim bool1,bool2 
bool1 = ""
bool2 = ""
if boolfield = True then 
  bool1 = " checked"
elseif boolfield = False then
  bool2 = " checked"
end if
%>    

  <p>Pick one:&nbsp;&nbsp; <input type="radio" value="true" 
name="boolfield" <% =bool1 %>>
  True&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" value="false" 
name="boolfield" <% =bool2 %>>
  False</p>
  <p>Enter date (mm/dd/yy): <input type="text" name="datefield" 
size="20" value='<% =datefield %>'></p>
  <p>Enter Memo: <textarea rows="2" name="memofield" cols="65"><% 
=memofield %></textarea></p>
  <p><input type="submit" value="Add" name="btnadd"><input 
type="submit" value="Update" name="btnupdate"><input type="submit" 
value="Delete" name="btndelete"><input type="reset" value="Reset" 
name="B2">&nbsp;&nbsp;
  <input type="button" value="Clear Fields" name="btnclear" 
onclick="clearfields()"></p>
</form>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to