Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old December 6th, 2004, 12:35 PM
Authorized User
 
Join Date: Nov 2004
Location: , , .
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
Johnjohn

  #2 (permalink)  
Old December 6th, 2004, 12:41 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

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)

HTH,

Chris

  #3 (permalink)  
Old December 6th, 2004, 06:03 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

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
Matt


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.