Thanks Azadi!
-Original Message-
From: Azadi Saryev [mailto:azadi.sar...@gmail.com]
Sent: Monday, April 11, 2011 5:49 PM
To: cf-talk
Subject: Re: cfselect selected bug?
that's a known issue with cf's json implementation.
what you can do, is add a leading space to all your ids so cf stops
stripping zeros . you will then need to trim that space on the back-end
when user selections are submitted.
Azadi
On 12/04/2011 06:38 , Tim Do wrote:
> I have two dropdowns that I've made related using cfselect and bind. The
> problem I'm having is the default for the second drop down. It seems to work
> fine when the value of the second dropdown is a number that doesn't start
> with a zero, but I have IDs that start w/ 3-4 zeros. Somehow the leading
> zeros are getting stripped out during comparison? Anybody else run into this
> issue?
>
> Thanks,
> Tim
>
>
>
>
>
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343672
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm