Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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 May 21st, 2007, 05:23 AM
SMM SMM is offline
Registered User
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to retrieve checkbox values which are checked

Hi all,

I just wanted to know how to retrieve checkbox values which are checked, in the action page. The page is posted with enctype="multipart/form-data" since iam uploading file.

Can anybody help me out...

Thanks in advance,

Old June 1st, 2007, 06:11 AM
Authorized User
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Because of the type of data that is passed when using an upload form (enctype="multipart/form-data"), you cannot pass form element values using that form. You can pass information concerning the file uploades using that form (such as file name, size,etc.) but not form field data. You would have to use a separate form for that. (I usually pass the file upload data to another form and have endusers populate the form from there - like a wizard - step one upload file, step two complete form.)

Old June 3rd, 2007, 06:45 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

Yes I use the same process. Step 1 posts to step 2 (which is another page) etc

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox checked all mateenmohd Javascript 1 January 2nd, 2007 06:19 AM
checkbox checked by default by html:checkbox sachin.tathod Struts 3 December 4th, 2006 03:41 PM
get the checked value from a checkbox array teklline123 Javascript How-To 1 September 16th, 2006 11:02 AM
Checkbox checked? ninel ASP.NET 2.0 Professional 1 April 12th, 2006 10:50 PM
allow only one checkbox to be checked! morpheus HTML Code Clinic 5 April 15th, 2004 10:59 AM

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