NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Basic form handling
2801 Basic form handling http://www.totalasp.co.uk/redir.asp?link=2421 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. ASP > Tips and Tutorials > Form Processing Oct 10, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Basic form handling:


Other links at ASP > Tips and Tutorials > Form Processing
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. In this tutorial we will show how to create an HTML form and process the data.

Before you can process the information, you need to create an HTML form that will send information to your ASP page. There are two methods for sending data to an ASP form: POST and GET. These two types of sending information are defined in your HTML form element's method attribute. Also, you must specify the location of the ASP page that will process the information.

Below is a simple form that will send the data using the POST method. Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send. Copy and paste this code and save it as "form.html".
Category:

Often times checkboxes are used for selecting a group of items for a batch delete or some other mass action. For example, in web mail you can check all the messages you want to delete in one click of the delete button. The following function is handy for this task because it takes your checkbox fieldname and efficiently returns a string of comma separated values of your checked checkboxes. This string of values could then be appended to your SQL statement for a quick, one-statement delete
Category:

Ah, forms. We all love them. And everyone knows how to use them (and if you don't, check out the related links at the end of this article). Well, we're here today to 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.
Category:

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
Category:

Let's check out our values just submitted:
FYI: Note that the above form submits back to this same page. If you haven't yet submit the form then there won't be any values in the text below since they are retrieved from the form. In this case, the values reflected are simply the defaults and are the same results you would get if you submitted the form without checking anything.
Category:




Main Category
192
2037
816
286
175
1802
1222
911
1163
7478
70
907
59
2222
174

Join Mailing List
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.



Top 10
Directory Statistics

Links: 19493
Categories: 1275
Registered Users: 748
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227530

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
256 site(s)
PR 6
778 site(s)
PR 5
1901 site(s)

PHP News