ismailc 0 Newbie Poster

Hi,

I need help, please sruggling a bit.

I have a cfselect with my option more than one value so i would like it to be displayed in column format, it displayes with the values right next to one another making it very untidy

<select name="S_Selectfrombox" size="10" query="Q_CodeDescr">
<cfloop query="Q_CodeDescr">
<CFSET V_Optionvalue1 = #Descr2#>
<CFSET V_Optionvalue2 = #Descr3#>
<CFSET V_Optionvalue3 = #Descr4#>

<option value="#V_Optionvalue1#" "#V_Optionvalue2#" "#V_Optionvalue3#"
#V_Optionvalue1# #V_Optionvalue2# #V_Optionvalue3#
</option>
</cfloop>
</select>

Please view the attachment as the values are displayed next to one another with only a space to seperate them.

Please anyone help as i can't continue without this to be displayed in columns.

Thanking you in advance.
Ismail

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.