UMD Web Site

Page Content   Main Links   Page Links   Utility Links   Search   Footer Links

ColdFusion Development Project

cf_selectlocation

Description: Creates a select list form field for locations on campus with the possibility to pre-select a location by name. The database query is established as object of the calling CF document and only executed if it doesn't exist yet.
Syntax:
<cf_selectlocation
  datasource = "data_source_name"
  nameloc = "form_field_name"
  selectloc = "location"
  selecttype = "key" or "string">
See also: cf_selecthsgloc, cf_selectdepartment, cf_selectjobtitle
Attributes:
Attribute Name Required/Optional Default Description
datasource required oracle9 The datasource to be queried for the list of locations.
nameloc optional lc_name Form field name for the location select list.
selectloc optional
Pre-selected location value.
selecttype optional string Determines if the custom tag uses/returns the internal key values of the locations or the location name string as values.
Returns: The HTML code for the form field.
Example:
<cf_selectlocation nameloc="lc" selectloc="Library">

<cf_selectlocation nameloc="lck" selectloc="35" selecttype="key">

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.