Hello,

I would like to change the value of a cfselect after a change of a cfinput.

Here's what I have so far. A cfscript changes the cfselect from grid selection 
changes:

public function contactListChanged():Void {
selectOption(currentappointmentcheck, 
contactList.selectedItem.currentappointmentcheck);
}

The cfinput:

<cfinput type="datefield" width="100" name="pcpappt1" label="Appt 1." 
bind="{contactList.selectedItem.pcpappt1}" onChange="?????" />

The cfselect I would like to change after a change of the cfinput:

<cfselect name="currentappointmentcheck" query="currentappointmentquery" 
value="currentappointmentcheckid" display="currentappointmentcheck"  
queryPosition="below" label="Result:" width="100"/>


So, is it possible that I would enter a date into the cfinput,pcpappt1, and 
call an onchange event that would change the value of the cfselect, 
currentappointmentcheck? I have tried using something like:

public function currentappointmentcheckchange():Void {
currentappointmentcheck.value = 2;
}

but it does not work. Any thoughts? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298569
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