Skip to content

Miscellaneous

timeSelectTags()

timeSelectTags() — returns any

Builds and returns a string containing three select form controls for hour, minute, and second based on name.

NameTypeRequiredDefaultDescription
namestringyesSee documentation for textFieldTag.
selectedstringyesSee documentation for selectTag.
orderstringyeshour,minute,secondSee documentation for timeSelect.
separatorstringyes:See documentation for timeSelect.
minuteStepnumericyes1See documentation for timeSelect.
secondStepnumericyes1See documentation for timeSelect.
includeBlankanyyesfalseSee documentation for select.
labelstringyesSee documentation for dateSelect.
labelPlacementstringyesaroundSee documentation for textField.
prependstringyesSee documentation for textField.
appendstringyesSee documentation for textField.
prependToLabelstringyesSee documentation for textField.
appendToLabelstringyesSee documentation for textField.
combinebooleanyesSee documentation for dateSelect.
twelveHourbooleanyesfalseSee documentation for timeSelect.
<!--- This "Tag" version of function accepts `name` and `selected` instead of binding to a model object --->
<cfoutput>
    ##timeSelectTags(name="timeOfMeeting" selected=params.timeOfMeeting)##
</cfoutput>

<!--- Show fields for `hour` and `minute` only --->
<cfoutput>
	##timeSelectTags(name="timeOfMeeting", selected=params.timeOfMeeting, order="hour,minute")##
</cfoutput>