Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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

Reply With Quote
  #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

Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:23 AM.


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