> We have a drop down, and would like it to fill in row with that
> recordset's info.  Is there a custom tag to do such before I switch into
> the wooly world of javascript.  (the first field is drop down, next 4
> fields to be filled need to be text input fields)

> Thanks for any quick pointers...not finding it at DevEx.

Shouldn't be difficult to accomplish with the flat js... you want a function
that looks something like this:

function selectOption() {
        switch (document.myform.myselect.value) {
        <cfoutput query="myquery">
                case "#jsstringformat(myquery.id)#": {
                        document.myform.myfield1.value = 
"#jsstringformat(myquery.field1)#";
                        docuemnt.myform.myfield2.value = 
"#jsstringformat(myquery.field2)#";
                        break;
                }
        </cfoutput>
                default: {
                        document.myform.myfield1.value = "";
                        document.myform.myfield2.value = "";
                }
        }

}

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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