Skip to content

Miscellaneous

minuteSelectTag()

minuteSelectTag() — returns any

Builds and returns a string containing one select form control for the minutes of an hour based on the supplied name.

NameTypeRequiredDefaultDescription
namestringyes—See documentation for textFieldTag.
selectedstringyes—The minute that should be selected initially.
minuteStepnumericyes1See documentation for timeSelect.
includeBlankanyyesfalseSee documentation for select.
labelstringyes—See documentation for textField.
labelPlacementstringyesaroundSee documentation for textField.
prependstringyes—See documentation for textField.
appendstringyes—See documentation for textField.
prependToLabelstringyes—See documentation for textField.
appendToLabelstringyes—See documentation for textField.
<!--- 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>