Are you on CF 8? If so one way to do it is use CFdiv and have it call a
template or bind to a CFC to display the comments.

<select name="catID" id="select" id="catID">
  <cfloop query="getCATS">
      <option value="#getCATS.catID#">#getCATS.catNAME#</option>

>   </cfloop>
> </select>



<cfdiv id="apDiv2"   bind="cfc:cfcdir.getComments({catID})"></cfdiv>
OR
<cfdiv id="apDiv2"  bind="url:getComments.cfm?catID={catID}"></cfdiv>



On Wed, May 13, 2009 at 1:23 PM, Les Mizzell <[email protected]> wrote:

>
> For a select box (simplified):
>
> <select name="catID" id="select">
>   <cfloop query="getCATS">
>       <option value="#getCATS.catID#">#getCATS.catNAME#</option>
>   </cfloop>
> </select>
>
> I need to display additional info for each selection when the selection
> is made - before the form is submitted.
> So if you've got
>  Record 1
>  Record 2
>  Record 3
> ...and somebody selects "Record 2" - I need the contents of an
> additional field ("cat_comments") to immediately display under the
> select before the form is submitted...
>
> Still scratching my head. Can somebody point me in the correct direction
> to pull this off?
>
>
>
>
>
> 

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