2817Lesson 13: Form validationhttp://www.haneng.com/Lessons_13.aspLearn 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.ASP > Tips and Tutorials > Form ProcessingOct 10, 2006
Many articles detail how to create "independent" HTML select objects with ASP. However, I have not found a good article about creating "dependent" HMTL select objects with ASP. This article details how to leverage several technologies -- both client- and server-side -- to create dependent HTML select objects with ASP. In this article, I will use the following technologies:
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.
I think it's safe to say that every site needs a form - a contact or tell-a-friend form to send email, a Search form to search your database, or some sort of data entry form - probably all of these!
As you'll soon see, the framework for all these forms is the same. Once you've written one, the rest are easy - it's just copy and paste! The steps to follow are:
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.
Great message. The ASP limit for FORM data processing (Request.Form) is about 100kB (sometimes 80k, sometimes 105k or similar). You will get the message above if you try to post more data to an ASP page. Grr....
MS says that The size limit of each form field is exactly 102,399 bytes
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.