Customer Login  .   Webmail Login  .   About Us  .   Contact Us
Go to: Articles List

Use hidden form values to your advantage Part 1 [Part 2]

Example:

<input type=hidden name=process value=true>

A hidden form value is basically an HTML form textbox that is hidden from the user.

The first way to use this is to place a hidden textbox in your HTML form with the name process and the value true. Then, make the form action the same page. At the top of the form check the value of process. If it is the first time a user is going to your page, process will be empty. If they have just submitted your form, process will have a value of true. Here is a sample of the code you would place at the top of the page:

If Request.Form("process") Then
    RunFunction
Else
    ShowMyForm
End If

Shared Hosting
Rookie
Pro
Advanced
Dedicated Servers
BASE
BUSINESS
ENTERPRISE
Why Choose Brinkster?
Radical Support
Brinkster Datacenter
Brinkster Network
Corporate Social Responsibility
90 Day Money Back Guarantee
Unsurpassed Value
Client Testimonials
Additional Features
Antivirus
Merchant Account
E-Commerce
Live Chat Communicator
Free Firewall
Website Builder
Free Web Hosting
Support
General Support
Codebank Search
Forums
Articles
Click here for Brinkster Live Chat
Home   Domains   Shared Hosting   Dedicated Hosting   Partner   Support   About Us    Contact Us   Webmail
Copyright © Brinkster Communications Corporation All Rights Reserved. Privacy Policy & Legal