Return to v1.4.5 docs

secondSelectTag()



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

Name Type Required Default Description
name string Yes See documentation for textFieldTag.
selected string No The second that should be selected initially.
secondStep numeric No 1 See documentation for timeSelect.
includeBlank any No false See documentation for select.
label string No See documentation for textField.
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.
<!--- 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>