I load the tree and populate it without any problem.
First question is that I would like to populate the fields in the form based on the selection from the tree but have not been able to get any javascript events like onClick(); to work - is there a way to do this that I am missing? The only work around I could figure out was to add a submit button which reloads the entire form with the fields populated.
Second question is that when the form reloads the tree is collapsed. I would like it to open and highlight the record that was selected when the form was submitted.
<cftree name="tProjects" width=200 height=435 fontsize=14 bold="yes" completePath="yes" highlighthref="yes" appendkey="Yes">
<cfoutput query="qProjects" group="projectType">
<cftreeItem value="#uCase(projectType)#" parent="tProjects" expand="no">
<cfoutput group="projectCondition">
<cftreeItem value="#uCase(projectCondition)#" parent="#projectType#" expand="no">
<cfoutput>
<cfTreeItem value="#ID#" parent="#projectCondition#" display="#projectName#">
</cfoutput>
</cfoutput>
</cfoutput>
</cftree>
TIA
Jeff
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
