Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Equivelent in CF for Request.Form

Status
Not open for further replies.

khurram

IS-IT--Management
Jan 10, 2001
95
CA
In ASP, there is a method of retreiving information using a standard form post. For example, CustomerName = request.form("xxxName").

Does anyone know the equivelent in CF?

Thanks.
Khurram
 
when the form is form is posted the form fields are available in much the same way. you just have to use a CF tag to do it.

<CFSET CustomerName = form.xxxName>

if you tern the debugging on in Cf administrator then, when you post the form to the referring page, the all of the form elements, URL elements etc. that have been passed accross will be displayed in the debug, to actually set the variable use the above statement for all of the variables that you want to set.

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top