Home | Advertising Info10 USERS CURRENTLY ONLINE   
   Site Search Contact Us Wednesday, November 25, 2015  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Problems displaying checkbox status
From: Vc Sekhar
Date: 1/11/2000 11:28:13 PM


I have a pretty lame ASP code that I am having problem with. I wonder if someone would be able to point out why it is not working. I am using
Windows 98 and the Personal Web Server that came with the system.

I want to use checkboxes to select one or more items out of a group of items. The problem I am having is with displaying the checked status in
the receiving program. When the boxes are checked the proper values are transmitted. However, when I use this value in an if then construct,
the if condition is always set to false.

Here are the two scripts.


<title>checkbox status</title>

<form action="dealwithform.asp" method="POST">
<input type="checkbox" name="Name" value="Value1" >Value1
<input type="checkbox" name="Name" value="Value2" >Value2
<input type="checkbox" name="Name" value="Value3" >Value3

<input type="Submit" name="Submit" value="Submit">
<input type="reset">


For Each Item in Request.Form
Response.Write (Item) %><BR>
<% =Request.Form(Item) %>"><Br>
<% Next %>
<% If Name = "Value1" then %>
<input type="Checkbox" name="Name" Value ="Value1" checked > Value1
<%End If%>
<input type="Checkbox" name="Name"<% If Name<>"Value2" then %> checked
<%End If%>>Value2
<input type="Checkbox" name="Name"

Follow Up - Re: Problems displaying checkbox status - Dave 1/26/2000 12:06:23 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com