Ask a Question related to Macromedia ColdFusion, Design and Development.
-
SNielsen #1
CFSELECT problem with Selected attribute
Hello,
I've found that if I have a simple CFSELECT statement using a query like the
following:
<CFSELECT Name="Field1" Size=1 Query="Names" Value="FullName"
Display="FullName" Selected="#Value1#"></CFSELECT>
It will not find that Selected value, #Value1#, IF the value includes a comma
which some forms of FullName do, i.e. "Public, John Q." I think this can be
traced back to CF MX7's upgrade to the CFSELECT statement that now allows a
multiple selections to be "Selected". The "Selected" list is comma-delimited.
Unfortunately, even the single-selection list seem to be screening for the
comma-delimited list. I have also added the attribute, Multiple="false" and it
did not help. I've also tried replacing the comma in "Public, John Q' with
some other character (like a period or a space" and it works fine. (I have way
too many of these CFSELECTS to have to do this to all of them, though.) All of
my other CFSELECTs work fine.
Has anyone encountered something similar? Is this a bug? Is there a
workaround? (I can think of several ways to get around this, but considering
the number of applications and screens I have with CFSELECTS using queries with
fields including commas, that is not a road I want to travel.)
Thanks,
Steve
SNielsen Guest
-
how do you populate cfselect when cfgrid selected row ischanged
hi can anyone enlighten me as to how to pass data to a cfselect from a cfgrid i am using a listner function so that the grid can populate form... -
selected= not working in cfselect
I am working on my admin interface for a department and I need to have a cfselect actually hilight the value that is passed from a query (like it is... -
CFSelect and Selected Issue in a Flash Form
I'm trying to use the CFSelect in a Flash form. The field has the possibility of multiple selections. We are currently trying this on our test... -
Populating SELECTED of CFSELECT with different query
I am trying to populate a CFSELECT from a query (which is working fine), but I want the SELECTED value to come from a different query. The values... -
item selected cfselect with cfgrid
If anyone's found a better way to make an item selected in a cfselect using cfgrid that the following, let me know: <cfgrid name="AddressGrid"...



Reply With Quote

