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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Post / submit form fields without a button

Status
Not open for further replies.

dv8er88

Programmer
Feb 21, 2005
42
US
HI I need to post some form data to another page without the user clicking a button and then go to the page it is submitting to as if I use a regular <form> post with action = test.cfm.

I have tried the following

<cfhttp method="Post" url="test.cfm">
<cfhttpparam type="Formfield" value="Damon Delcoro" name="sname">
</cfhttp>


but it does not seem to go to the page test.cfm
 
OK I found that the CFHTTP has a redirect option to direct you to the page specified but i still is not doing so.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top