Skip to content

Miscellaneous

secondSelectTag()

secondSelectTag() — returns any

Builds and returns a string containing one select form control for the seconds of a minute based on the supplied name.

NameTypeRequiredDefaultDescription
namestringyesSee documentation for textFieldTag.
selectedstringyesThe second that should be selected initially.
secondStepnumericyes1See documentation for timeSelect.
includeBlankanyyesfalseSee documentation for select.
labelstringyesSee documentation for textField.
labelPlacementstringyesaroundSee documentation for textField.
prependstringyesSee documentation for textField.
appendstringyesSee documentation for textField.
prependToLabelstringyesSee documentation for textField.
appendToLabelstringyesSee documentation for textField.
<!--- This "Tag" version of the function accepts a `name` and `selected` instead of binding to a model object --->
<cfoutput>
    #secondSelectTag(name="secondsToLaunch", selected=params.secondsToLaunch)#
</cfoutput>

<!--- Only show 15-second intervals --->
<cfoutput>
	#secondSelectTag(name="secondsToLaunch", value=params.secondsToLaunch, secondStep=15)#
</cfoutput>