Hi Scott, thanks so much for your help! I tried both solutions,neither way worked, I did not think that it would be be this hard to add this.
so suppose I have a simple contact page: <!--- contact form---> <cfform action="output.cfm" method="post"> <table> <tr> <td>Name</td> <td><cfinput type="Text" Name="name" required="yes"></td> </tr> <tr> <td>Email</td> <td><cfinput type="text" name="email_address" validateat="onSubmit" validate="email" required="yes"></td> </tr> <!--- test e-mail check ---> <tr> <td>Email2</td> <td><cfinput type="text" name="email_address2" validateat="onSubmit" validate="email" required="yes"></td> </tr> <tr> <td></td> <td><cfinput type="Submit" name="SubmitForm" value="subscribe"></td> </tr> </table> </cfform> <!--- output form---> <!--- check to see if the user entered the correct e-mail twice ---> <cfif compare(form.email_address,form.email_address2) eq 0> The Emails did not match! Please go back to the <a href="form.cfm">subscribe form</a> and try again. <cfelse> you entered <cfoutput>#form.name#</cfoutput> you entered <cfoutput>#form.email_address#</cfoutput> </cfif> this does not work,displays what they entered, am I going about tis all wrong? thanks so much, Johnny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5271 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
