Just build the structure in CF and then use CFWDDX to put that structure
into a JavaScript for qForms to use.  Another way is to just use cfoutput
tags inside the javascript, so that they put in all the code to build a JS
structure once the browser gets the page source.  I for some reason prefer
to do the second option, but more people find that confusing since it is
mixing client and server languages and they tend to not take into account
the CF runs on the server and generates the code the client language would
then need.  Here is a example of how I do it:

http://www.happyhacker.com/Code.cfm?Cat=CF&SubCat=4Slcts

Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">

On Fri, 2 Nov 2001, Jones, Becky wrote:

> im interested in doing 4 related selects.  i see that there is an example at
> http://www.pengoworks.com/qForms/docs/examples/n-related_selectboxes.htm
> but i was wondering if cf could mix with the js code?  ive tried before with
> not much sucess.  has anyone used this form in conjunction with cold fusion
> code.  and if so, would you mind sharing an example?
> thanks so much,
> bec.
> 
> 
> *************************************************
> This e-mail, including any attachments, is intended for the 
> receipt and use by the intended addressee(s), and may contain 
> confidential and privileged information.  If you are not an intended 
> recipient of this e-mail, you are hereby notified that any unauthorized 
> use or distribution of this e-mail is strictly prohibited. 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to