Go to: Articles List

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


<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
End If