Link to home
Start Free TrialLog in
Avatar of LeadCo
LeadCo

asked on

How do i set a selected value when i am pulling data from a query for a cfselect?

<cfset state = '#lead.state#' > 

If i am confirming data and want to use the query to pull all states but have one state selected initially   #state#  how would i do that?
<cfselect name="state" query="GetStates" value="state" display="state"/>
What would add to the cfselect to set a state as selected?
ASKER CERTIFIED SOLUTION
Avatar of azadisaryev
azadisaryev
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeadCo
LeadCo

ASKER

Thanks!