Form Function

The ecmFormBlock function displays an HTML form content block. For more information about HTML forms, see Working with HTML Forms.

Warning! If you create a template for an existing form content block, you must manually change its quicklink to point to the new template. This change does not occur automatically. This procedure is described in Updating Default Template for Multiple Quicklinks.

Here is the format for the form custom function

<CFMODULE template="#request.ecm.AppPath#ecmFormBlock.cfm" ID="" >

This function is basically the same as the Form function in ASP. See Form Function for details.

The only difference between the Coldfusion function and the ASP one is the syntax for implementing it. The ColdFusion example is below.

Here is an example of a form content block in an Ektron CMS400.NET template.

        <tr>

              <td>

                       <CFModule template="#request.ecm.AppPath#ecmFormBlock" form_id="1">

              </td>

        </tr>

Previous TopicNext Topic|