The great advantage of ASP is possibility to respond to user queries or data submitted from HTML forms. You can process information gathered by an HTML form and use ASP code to make decisions based off this information to create dynamic web pages. This tutorial demonstrates how to create an HTML form and process the data.
Many of us have faced situations when we fill invalid information in one field of a form, and when we submit, the forms apears again with that field in red color. This tutorial shows you how simple it is to add such facilities to your forms.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
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.
This script shows how to send an email via the CDONTS objects available to ASP 3.0. It will take a selection of form input, create the required e-mail objects, send the e-mail to the specified recipient and then redirect the user to a confirmation page, thanking them for their input.
This tutorial shows you how to automatically censor specific words on posts for message boards or guestbooks when posted. It provides a function called CensorStr to do the job.
Handling forms and processing the data you get from them is one of the fundamentals that need to be mastered if you are to develop a dynamic site. This is a very simple introductory tutorial on form handling.
A handy function for validating strings and replacing unwanted contents, by searching for matches with regular expression patterns. There are two functions - one that replaces pattern matches, and one that can call the first function multiple times, each time with a different pattern.