Pages

Sunday, November 17, 2013

How to Create a Registration Form With ColdFusion

How to Create a Registration Form With ColdFusion

ColdFusion is a very popular language used for programming interactive websites. A standard element of any interactive website is a use registration form, or page. Sites need this page in order to track visitors and mass membership data. Information entered into a websites registration page also allows the site owners to correspond with and advertise to site users. ColdFusion creates basic interactive registration forms with a minimum of fairly simple programming commands.

Instructions

    1

    Create a new template page by clicking File, New and selecting the Templates tab. Click on Template.

    2

    Click within the area labeled Content and remove all existing text. Select Insert and click Form, and Form again to insert a new form.

    3

    Decide how many fields to include in the registration form. Generally 10 to 14 fields are considered standard. Create the form table by selecting Insert and Table. Look for the Insert Table dialog box. In the box select the number of rows and columns you want your table to have. Specify, if desired, the width of the table in pixels, designate a border, if any, cell padding and spacing. When finished, click Ok. The new table is incorporated into the registration form.

    4

    Enter into the table the field names, the form objects, i.e., what type of data the field is enabled to receive and the name of each form object. For example, a basic registration form requires an individuals name, user name, password and e-mail. Enter this information as follows. For the first row of the table, enter Name for the field name, Text Field for the form object and Name for the form object name. On the second row of the table, enter Username for the field name, Text Field for the form object and Username for the name of the form object. For the third row of the registration form table, enter Password for the field name, Text Field for the form object and Password for the name of the form object. On the fourth row of the table, enter Email for the field name, Text Field for the form object and Email for the name of the form object.

    5

    Save the new registration page as Register.cfm and run the script in any web browser.

0 comments:

Post a Comment