cf's bindings to form controls do not allow for event chaining or
binding to multiple events...

so, save for turning FF's autocomplete feature off by adding
autocomplete="off" to your <form>/<cfform> tag, you are out of luck...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 20/05/2009 15:53, Jayel Villamin wrote:
> I have a simple input field the dynamically retrieves data from Oracle and 
> populates other input fields.
> 
> I am using keyup on the binding. This is working okay EXCEPT that when using 
> firefox (possible IE as well), firefox has cached the previous data I entered 
> on the field.
> 
> e.g. I I entered "e", firefox will automatically create a new popup and 
> displays all the data I entered on that field starting with "e". If I use the 
> keyboard to select, it works fine. If I use the mouse, my binding doesn't 
> pick it up.
> 
> This is code I'm using currently.
> +++++++++++++
> <cfinput class="textfield" type="text" name="phone" 
> bind="cfc:query-database.getPhone({...@keyup})" 
> value="#Iif(IsDefined("Form.phone"), Evaluate(DE("Form.phone")), "")#" 
> required="yes" />
> +++++++++++++++
> 
> Any suggestions on how to capture all events?
> 
> Thank you for the help! :)
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322660
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to