I have a cfselect that I am binding to a CFC.  I also have a cfdiv that i am
binding to the same CFC but to a different method.  Is it possible to have
the value of the selected item in the cfselect passed as an argument to the
cfdiv's CFC method?

Here's what I was trying.

<cfform format="html">
    Select Client:
    <cfselect name="clientSelect" id="clientSelect" label="Select Client"
required="true" bindOnLoad="true"
bind="cfc:lab.CFC.query.BulkReverseAppend.lskin()" value="lskinid"
display="refname">
    </cfselect><br />

    <cfdiv id="DNISCheckBoxField"
bind="cfc:lab.CFC.query.BulkReverseAppend.dnis(X)">
    </cfdiv>

    <cfinput type="button" name="submit" value="Lookup" id="submitBtn" />
    <cfinput type="reset" name="clearResults" value="Clear Results / Form"
id="clearBtn" />
</cfform>


Where X in the the dnis method is a numeric value derived from the selected
item's value in the cfselect.  The CFC methods are just returning query
results.

I'm trying to populate form elements from the data selected in previous
elements.

Thanks!
-- 
Steve Good
http://lanctr.com/


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306300
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to