I’m hacking at Javascript, what this script is supposed to do is pass form values back to another form (click on a button, select a record, and the record data is posted back to the previous form etc.). The selection form is based on a query, so it’ll change based on how many records it returns.
The error I’m getting is as follows: Error: document.clientSearch.client_id has no properties Source File: http://localhost/project05/index.cfm?fuseaction=Navigation.ClientList Line: 16 <script> function clientRecPop() { for (i=1; i<<cfoutput>#qry_getClient.recordcount#</cfoutput>;i++) clid = document.clientSearch.client_id[i].value compName = document.clientSearch.company[i].value self.opener.document.forms[0].clientID.value = clid self.opener.document.forms[0].coName.value = compName window.close() } </script> Scott A. Stewart, Web Application Developer Engineering Consulting Services, Ltd. (ECS) 14026 Thunderbolt Place, Suite 300 Chantilly, VA 20151 Phone: (703) 995-1737 Fax: (703) 834-5527 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 05/10/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206230 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54