2806Some sample checkbox form elements:http://www.asp101.com/samples/checkbox.aspLet's check out our values just submitted:
FYI: Note that the above form submits back to this same page. If you haven't yet submit the form then there won't be any values in the text below since they are retrieved from the form. In this case, the values reflected are simply the defaults and are the same results you would get if you submitted the form without checking anything.ASP > Tips and Tutorials > Form ProcessingOct 10, 2006
This month's article marks the end of our discussion of ASP Form Handling. Hopefully you have fully understood everything we have done thus far (and if you are new to this series, welcome aboard, check out the first article). In this article, we are going to cover a number of miscellaneous topics related to all the techniques discussed in previous articles. Some of these topics come straight from questions I received via email (thanks readers) and include: handling radio buttons and check boxes, emailing attachments with CDONTS, sending HTML in an email message, and some ways of using the data stored in the registration database we created last month. Let's start on the next page by revisiting Form Handling techniques.
Sending e-mail from a web page can be useful for a number of reasons. It doesnt reveal your email address for one, plus it means you can get the information that you want from users and all of this without the end user having to use an e-mail client, nor have an e-mail account or SMTP server to send through.
One way to generate dynamic PDF files is to create PDF template forms and then to fill them on the fly. This article show you how to do so very easily by using the FDF toolkit.
Developing HTML forms for entering or editing data on line is tedious and boring work. It is even more painful if you need a data-entry solution that supports both Netscape and Internet Explorer (IE). Thus most on-line forms have no JavaScript validation and barely any server validation.
Forms are great for collecting and handling data on your website. But how can you use ASP to make the most of your forms? Most webhosts provide standard scripts for form handling, but to make your site truly dynamic, it will not be long before you want forms to do something more than the average generic script offers.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.