In line one, use:
<cfform action="/template/check.cfm" . . .>
Ed Martin
enVision Training and Development, Inc.
-----Original Message-----
From: Jacob [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 4:31 PM
To: [EMAIL PROTECTED]
Subject: How to post to a template using cfform.
I have two files in a template directory named secure.cfm and check.cfm.
secure.cfm has this coding in it:
<cfform action="check.cfm" method="POST" name="secureform">
<TABLE align=center><TR>
<TD align=right>Last Name:</TD><TD><cfinput type="Text" name="lastname"
size="20" maxlength="100" required="Yes" message="You must enter your last
name."></TD>
</TR><TR>
<TD align=right>Customer Number:</TD><TD><cfinput type="Text"
name="custnum" size="10" maxlength="10" required="Yes" message="You must
enter your customer number."></TD>
</TR><TR>
<TD></TD><TD><INPUT TYPE="submit" VALUE="Enter"></TD>
</TR></TABLE>
</cfform>
I want to post this to the file check.cfm in the template directory, but I
can not.
My template directory is D:\template\
The files that is will have this template vary throughout the site. I do
not want to copy this file into 100s of directorys.
Any suggestions?
Thanks
Jacob
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.