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 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.
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.
Select boxes must often communicate with one another (i.e., a Child select object's option values depend on the value selected in the Parent object). This tutorial details how to create a hierarchy of select objects using ASP, SQL, ADO, and JavaScript.
The checkbox object is coded along the same lines as radio buttons, however each checkbox must get its own unique name since the state of "checked" or "not checked" will be passed to ASP for each box. Remember that you can set more than one option to be checked. Complete source code provided for the example.
This article shows how to build a forms validation library using JavaScript and ASP. Its FormLib simplifies form creation and eliminates common forms-maintenance tasks.
This article discusses how to deal with various checkboxes in form via ASP. Covers: The Default No-Frills Checkbox, Checkbox With An Associated Value, Multiple Checkboxs With The Same Name, and Checkbox Which Maintains It's State.
ASPRSS has a subscription service that automatically submits articles to all the ASP directories out there. This article shows how the data is submitted to their forms using the IP*Works! WebForm component.
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
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 article shows a way to download multiple files in one http request. It let's you send an HTML page along with image preview, prepare more files for download and send the files as one data stream. One request, one authentication per multiple files
1 times | category:
this:1/125records total:17 Start Previous Next Last goto: