Return to v1.4.5 docs

timeSelectTags()



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

Name Type Required Default Description
name string Yes See documentation for textFieldTag.
selected string No See documentation for selectTag.
order string No hour,minute,second See documentation for timeSelect.
separator string No : See documentation for timeSelect.
minuteStep numeric No 1 See documentation for timeSelect.
secondStep numeric No 1 See documentation for timeSelect.
includeBlank any No false See documentation for select.
label string No See documentation for dateSelect.
labelPlacement string No around See documentation for textField.
prepend string No See documentation for textField.
append string No See documentation for textField.
prependToLabel string No See documentation for textField.
appendToLabel string No See documentation for textField.
combine boolean No See documentation for dateSelect.
twelveHour boolean No false See 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>