Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 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 March 24th, 2005, 03:37 PM
Registered User
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need HELP!!! Record Input in Field - Check box on

I have an input form where the client enter his/hr information. After they click the information is submitted to the verification.asp page which basically shows the information that the person has entered.

The problem is I can seem to get it to indicate that the person has selected the checkbox.
Everything works fine except that the checkbox produces no result when it is checked. I have bolded the troublesome area. Any assistance rendered would be appreciated...and my deepest thanks.

My code is as follows:

Dim strContact , strCompany , strTelephone , strEmail , strWebsite
    strContact = Request.Form("Contact")
Response.Write "Contact:"
Response.Write "&nbsp;"
Response.Write "&nbsp;"
Response.Write strContact

    Response.Write "<br>"
    strCompany = Request.Form("Company")
     Response.Write "Company:"
    Response.Write "&nbsp;"
    Response.Write "&nbsp;"
        Response.Write strCompany
Response.Write "<br>"
strTelephone = Request.Form ("Telephone")
Response.Write "Telephone:"
Response.Write "&nbsp;"
    Response.Write "&nbsp;"
Response.Write strTelephone
Response.Write "<br>"
strEmail = Request.Form ("Email")
Response.Write "Email:"
Response.Write "&nbsp;"
    Response.Write "&nbsp;"
Response.Write strEmail

Response.Write "<br>"
strWebsite = Request.Form ("Website")
Response.Write "Website:"
Response.Write "&nbsp;"
    Response.Write "&nbsp;"
Response.Write strWebsite
Response.Write "<br>"

If Request.Form ("bconsultants") = "on" Then
Response.Write "You requested more information on Business Conultancy Services"

End If


Old April 7th, 2005, 09:51 AM
Registered User
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Hi karlzoe

assign any value like "true" to checkbox.
if u have assigned any value to checkbox it will give that value to next page if u have checked it.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change check box field to false in MS Acess VB saban ASP.NET 1.0 and 1.1 Basics 0 March 13th, 2007 05:19 AM
Copy previous field record if next field is null ecampos Access VBA 6 June 23rd, 2006 12:55 PM
Check for missing input g2000 Classic ASP Basics 3 September 1st, 2005 06:05 PM
Check-boxes on input form tmangus Access VBA 4 June 14th, 2005 11:40 AM
Check for existing record echajmovic Access 1 November 3rd, 2003 08:03 PM

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