UMD Web Site

Page Content   Main Links   Page Links   Utility Links   Search   Footer Links

ColdFusion Development Project

cf_selectfiletype

Description: Creates a SELECT form field for a user to specify the file type in a file upload form. The form field name and the pre-selected file type can be specified as attributes.
The attribute to pre-select the file type must match a file extension. The value returned from the form field is a semicolon separated list with two elements: the first element is the full-text document type, the second element is the file extension. The elements can be extracted with ColdFusion list functions.
Syntax:
<cf_selectfiletype
  fieldname = "form_field_name"
  fieldselect = "file_type">
Attributes:
Attribute Name Required/Optional Default Description
fieldname optional filetype Form field name for the file type select list.
fieldselect optional
Pre-selected file type value.
Returns: The HTML code for the form field.
Example:
<cf_selectfiletype fieldname="ftype" fieldselect="jpg">

Contact Info:

Email: webdevelopment@umassd.edu - Web Design & Development

Main Links

Page Links

Utility Links

Search

 
Text Only Options

Top of page


Text Only Options

Open the original version of this page.

Usablenet Assistive is a UsableNet product. Usablenet Assistive Main Page.