Miscellaneous
minuteSelectTag()
Signature
Section titled “Signature”minuteSelectTag() — returns any
Description
Section titled “Description”Builds and returns a string containing one select form control for the minutes of an hour based on the supplied name.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | See documentation for textFieldTag. |
selected | string | yes | — | The minute that should be selected initially. |
minuteStep | numeric | yes | 1 | See documentation for timeSelect. |
includeBlank | any | yes | false | See documentation for select. |
label | string | yes | — | See documentation for textField. |
labelPlacement | string | yes | around | See documentation for textField. |
prepend | string | yes | — | See documentation for textField. |
append | string | yes | — | See documentation for textField. |
prependToLabel | string | yes | — | See documentation for textField. |
appendToLabel | string | yes | — | See documentation for textField. |
Examples
Section titled “Examples”<!--- This "Tag" version of the function accepts a `name` and `selected` instead of binding to a model object --->
<cfoutput>
#minuteSelectTag(name="minuteOfMeeting", value=params.minuteOfMeeting)#
</cfoutput>
<!--- Only show 15-minute intervals --->
<cfoutput>
#minuteSelectTag(name="minuteOfMeeting", value=params.minuteOfMeeting, minuteStep=15)#
</cfoutput>