Home | Advertising Info68 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


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



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: Re: Problems displaying checkbox status
From: Dave
Date: 1/26/2000 12:06:23 PM
IP: 24.229.31.103



 

Im pretty new to this but was dealing with similar issues recently. I dont know about PWS - I use strictly IIS 4.0 to test my ASP.

First, I think on this line:
<% If Name = "Value1" then %>
you need to say
<% If Request.Form("Name") = "Value1" then %>
Also, what I did was set a variable on or off if each box was checked. Heres a sample: (The "cb..." variables have already been parsed from their "request.form" equivalents, to make sure no one hacks the script ;)

<% check to see if ongoing choice selected; check box accordingly:
If cb_flu_card = "on" then
cb_flu_card_checked = "checked"
else
cb_flu_card_checked = ""
end if
If cb_back_card = "on" then
cb_back_card_checked = "checked"
else
cb_back_card_checked = ""
end if
%>
<INPUT id=flu_card name=cb_flu_card
type=checkbox <%=cb_flu_card_checked%>>  Post Card about Flu
<INPUT id=back_card name=cb_back_card
type=checkbox <%=cb_back_card_checked%>>  Post Card about Back Ache

Hope this helps...

Previous Message


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 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.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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