faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 10 people (50%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

How to see if a checkbox in aform is checked or not if the action is other page

Mar 21st, 2007 04:22
sasi rekha, Christopher Gardiner, Jeeja rajan,


For a checkbox with name="box1" use
<%
if Request.Form("box1")="ON" then
   'perform some action
end if
%>
When u submit the form the value for that checkbox will be sent 
otherwise the value in that will be empty.
if Request.Form("box1")<>"" then
   'perform some action
end if



© 1999-2004 Synop Pty Ltd