Basic HTML version of Foils prepared May 3 1998

Foil 44 Creating an Update Form

From Java Blend and Cold Fusion High Level Database Interfaces CPS616 Web Technologies -- Spring 98. by Chao Wei Ou


An update form is similar to an insert form with two key differences. An update form contains a reference to the primary key of the record that is being updated (Employee_ID).
<HTML>
<HEAD><TITLE>Example Update</TITLE></HEAD>
<FORM ACTION="EmployeeUpdate.cfm" METHOD="Post">
<INPUT TYPE="Text" NAME="Employee_ID" VALUE="">
FirstName: <INPUT TYPE="Text" NAME="FirstName" VALUE="">
LastName: <INPUT TYPE="Text" NAME="LastName" VALUE="">
Phone: <INPUT TYPE="Text" NAME="Phone" VALUE=""><BR>
<INPUT TYPE="Submit" VALUE="Update Information">
</FORM>
</HTML>



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998