5.19.2006

CFFORM Example

<cfform action="sample_insert.cfm" method="post">
<table border=1>
<TR><TD width="100">Last Name:<td><cfinput name="last_name" REQUIRED = "yes" SIZE="20" MESSAGE = "Last Name is Required">
<tr><TD>First Name:<td><cfinput name="first_name" REQUIRED = "yes" SIZE="20" MESSAGE = "First Name is Required">
<tr><TD>Address:<td><cfinput name="address" REQUIRED = "yes" SIZE="20" MESSAGE = "Email is Required">

</table>
<div align="center">
<p>
<input type="submit" name="submit" value="Submit Survey Form" class="redbutton"> <INPUT TYPE = "reset" class="redbutton" VALUE = "Reset">
</div>
</cfform>

3 comments:

Any anonymous comments with links will be rejected. Please do not comment off-topic