Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 6th, 2004, 12:35 PM
Authorized User
Join Date: Nov 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Checkbox

Hi everybody

I would like to know:
if I have a group of checkbox and want to know which one are check, how can I do that without the get method beacause I don't the user to see all that? In fact what I want to do is exacltly like hotmail work, if you check a group of your mail and decide to delete them it work and you don't see anything special in the URL.

How they do that?

Thank you very much

Old December 6th, 2004, 12:41 PM
Friend of Wrox
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

Hi Johnjohn,

Try using method="post" in your form.

Then use Request.Form instead of Request.QueryString (if you are just using Request, asp checks the Request.QueryString collection for a value before Request.Form)



Old December 6th, 2004, 06:03 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

BTW: If you have a value in each (EG the item's id) input type=checkbox form tag, a commer delimited string will be sent in the post value (for each ticked checkbox - providing the checkboxes are all named the same)

Handy for a SELECT WHERE ID IN [your string] type query rather than checking for 'on' values.

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
checkbox grstad HTML Code Clinic 1 December 18th, 2006 08:10 AM
checkbox checked by default by html:checkbox sachin.tathod Struts 3 December 4th, 2006 03:41 PM
Need Help regards checkbox nellaikumar ASP.NET 1.0 and 1.1 Basics 1 December 1st, 2005 02:07 PM
checkbox fcm Access VBA 12 April 15th, 2005 08:15 AM
checkbox damnnono_86 Access 2 October 10th, 2003 03:25 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.