ASP Forms and Validation

<< Main ASP Directory
Page : 1 | 2
Customizable forms 
This is a simple project that uses a template page to display different objects. The structure is represented in the registry at HKEY_LOCAL_MACHINE/SOFTWARE/CustomizableForms, here exist GlobalSettings and xx_Form subkeys (xx is a number betwen 01 and 99 that is important for the forms order).  


Form Handler 
If you've got a web page, you've probably got a form. The question is what to do with it. We'll I've whipped up this little sample to give a quick illustration of form validation. It's pretty forgiving. For the most part, if you enter something, it lets it through. 

Form to DB 
Well most of the aspects of this had already been covered in the other samples, but day after day the requests kept rolling in for a simple form to DB script! As such I finally just decided to write one but I would like to say that I'd appreciate it if you'd take a look at how these samples work and try to make some changes to get them to work the way you want. A lot of people are actually emailing me asking me to change the code or write code specifically for them! While I'd love to help I just don't have the time! 

Form validation 
Learn to collect info from forms and validate them with VBScript serverside. All code is available. View the demo to see the result. 

Forms 
This FAQ discusses what forms are and how to use HTML/ASP to create forms and read your users' form inputs. (5 FAQs) 

Get vs. Post 
There are two main ways to transfer information from page to page. They are get and post. Each is useful in it's own way and while for many things the choice is up to you, a little knowledge of the benefits and drawbacks of each is good to have. So start getting and posting! 

Handy Form Functions 
These scripts will make variables live well beyond the page scope and make the debugging process of passing variables between pages just a memory. All the scripts are very flexible and work on form elements, query strings and cookies. 


Inserting Form Content into Database  
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. 

Programmatically Populating HTML forms made easy 
Adding an 'edit' feature to a web site (i.e. editing registration information, updating content, modifying a shopping cart list) requires that HTML forms are built that are populated with the data that is to be edited 

Self Submitting Forms 
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 is, and present the proper output to the user.  

Page : 1 | 2

Get the best ASP hosting with DiscountASP.NET - great value, money back guarantee.

Advertisements



MembersPro

MembersPro PayPal - ASP Membership software

Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.

Global ASP.NET Hosting Leader - Click Here