Hi Guys,

Found an issue with form:select tag. In options.cfm line 139

<cfset variables.option = ReplaceNoCase(variables.option, '>', '
selected="selected">', "one") />

is used to set the selection in select box.

Issue is, in my select options I have ">" as one of the option. This is
because I'm building a query builder and ">" is one of the operator.

I think this can be resolved by adding the selected attribute in
the beginning instead of end:

<cfset variables.option = ReplaceNoCase(variables.option, '<option ',
'<option selected="selected" ', "one") />

Thoughts?

--
Sumit Verma
Partner / Vice President | ten24, LLC
office: 877.886.5806 x 103 | mobile: 617.290.8214
www.ten24web.com | www.linkedin.com/in/sverma | twitter: blogonria

-- 
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

***New URLs as of April 29th, 2010***
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to