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.
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.
Validating Email addresses is not limitted to finding "@" and "." signs in the address! There are higher concepts, but few are aware of them. This article shows you a simple way to check if the Email address provided by a user is "real" to a higher extent than current famous validation codes do.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
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
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.
Full VBS code, which lets you accept x-www-form-urlencoded forms in ASP without limit of size using BinaryRead (Request.Form has 100kB limit), recomended solution from MS KB (Q273482). Source of URLDecode function included.
A very important coding method to understand when developing ASP pages is the page that submits to itself. This technique is very powerful and can drastically reduce the number of files you have to maintain and the number of places in which you need to make changes when maintaining code. The concept is simple. Using forms, set the action value to the URL of the page in which the form resides. Then use ASP code to determine what the current state of the page, and present the proper output to the user.
This tutorial will show you how to give your forms a little bit more power. By making your forms self-referencing, you can open up whole new areas of functionality with your web applications.