Retrieving data for an update form


show more Retrieving data for an update form provides you with in-depth training on Developer. Taught by David Gassner as part of the ColdFusion 9 Essential Training show less
please wait ...

Retrieving data for an update form

ColdFusion makes it very easy to create a single page that's used for both inserting and updating data. I am going to repurpose the edit.cfm file and turn it from a form that only inserts data right now to one that can be used for both inserting and updating. I'll start in the list page, index.cfm. That's showing me a list of my photographers, and I'll add another column with hyperlinks that the user can click to edit an existing photographer record.

In the source code I'll go first to the Header row and I'll add a new pair of th's. I am not going to put any text in between these tags, because I don't need to display anything at the top of the column. Then I'll go to the line of code that shows the link for the photo list. I'll click into that line of code and then clone it, pressing Ctrl+Alt+Down on Windows or Command+Alt+Down on Mac, and I'll make some changes to that code. In the second link, I'll set the href to point to edit.cfm and I&...

Retrieving data for an update form
Video duration: 4m 16s 7h 21m Beginner

Viewers:

Retrieving data for an update form provides you with in-depth training on Developer. Taught by David Gassner as part of the ColdFusion 9 Essential Training

Subjects:
Developer Web
Software:
ColdFusion
Author:
please wait ...