2800Sending E-Mail with ASP 3.0 and CDONTShttp://www.designplace.org/scripts.php?page=1&c_id=23Sending 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.
The checkbox object is coded along the same lines as radio buttons, however each checkbox must get its own unique name since the state of "checked" or "not checked" will be passed to ASP for each box. Remember that you can set more than one option to be checked.
Learn to collect info from forms and validate them with VBScript serverside. All code is available. View the demo to see the result.
Intro:
I can't even count how many form validation scripts I have made. This is something that you just have to know to be an ASP developer. I'll show you have you can collect info with a form, and how to validate it.
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.
In this article we will create a simple HTML Form and an ASP page. Any data which is entered by the user in that HTML Form will be received by the ASP action page and will enter that data into the Access database. After that we will create an ASP page to show all the records entered and to delete the specific records if wanted.
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.
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.