you can specify which event triggers the binding by including
@[event-name] in the binding parameter:
{y...@change} for example will trigger the binding when the value of
year field changes.

you can also specify @none to prevent the field triggering the binding,
but still use the field's value as parameter.
i think in your case, when you need to make sure all 3 fields used in
the binding have a value entered/selected, it may be better to:
1) add a button to the form which will trigger the binding (<input
type="button" name="triggerbinding" value="show results" />)
2) change the 3 fields you use in the binding to add @none to the triggers
3) add the above button as 4th binding param with @click event - thus
only the click of the button will trigger the binding

hth

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


On 09/12/2009 00:00, Sean Sekora wrote:
> I have the following cfselect
>
> <cfselect name="type" 
> bind="url:lookup.cfc?method=getType&year={year}&make={make}&model={model}" 
> bindonload="false" />
>
> Is there a way to prevent the lookup from being executed until all the 
> required values have been set? 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:328967
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