| Description: | Creates a select list form field for on-campus housing locations with the possibility to pre-select a location by full name or the location code. |
| Syntax: |
<cf_selecthsgloc
datasource = "data_source_name"
namehsgloc = "form_field_name"
community = "list of text strings"
selecthsgloc = "location"
selecttype = "code" or "name">
|
| See also: | cf_selectlocation |
| Attributes: |
| Attribute Name | Required/Optional | Default | Description |
| datasource | required | oracle9 | The datasource to be queried for the list of states. |
| namehsgloc | optional | hl_code | Form field name for the housing location select list. |
| community | optional |
| List of on-campus housing communities separated by "|" (without quotes). A community name must exactly match the community name in the database. |
| selecthsgloc | optional |
| Pre-selected housing location value. |
| selecttype | optional | s_code | Determines if the custom tag uses/returns the full housing location names hl_name or the location abbreviation hl_code. |
|
| Returns: | The HTML code for the form field. |
| Example: |
<cf_selecthsgloc>
<cf_selecthsgloc community="Woodlands" selecthsgloc="HK">
|