I've seen this happen when the value of the hidden field is null. Is there any way the value could have not been set in the hidden field?
Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 ************************************************************************ ************* Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] ************************************************************************ ************* -----Original Message----- From: Ciliotta, Mario [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:45 PM To: CF-Talk Subject: CF and Hidden Fields Hi, I was wondering if someone might be able to help me with this or has had experience with this: I have a form and on the form I have a hidden field called Emp_ID: <FORM NAME="Volunteer" ACTION="" onreset="return confirm('Are you sure, you want to erase ALL data and start over?')" METHOD="POST"> <INPUT TYPE="HIDDEN" NAME="Region" VALUE=""> <INPUT TYPE="HIDDEN" NAME="Emp_ID" VALUE=""> <INPUT TYPE="HIDDEN" NAME="Office" VALUE=""> Then on my submit pages I insert the emp_id into the database using <CFQUERY>: <CFSETTING ENABLECFOUTPUTONLY="Yes"> <CFQUERY NAME="Insert" datasource="xxxxxxxxxxxxx"> Insert into tbl_Diversity_Registrants(Emp_ID, F_Name, L_Name, title, Office, Office_Phone, Email, Division, Department, Region, Event_Nbr) Values('#Form.Emp_ID#','#Form.FirstName#', '#Form.LastName#', '#Form.Title#', '#Form.Office#', '#Form.Phone#', '#Form.Email#', '#Form.Division#', '#Form.Department#', '#Form.Region#', #Form.Project#) </CFQUERY> <CFSETTING ENABLECFOUTPUTONLY="No"> The problem is that sometimes, when I look in the application log I see the following errors: "Error","TID=635","01/30/103","15:03:08","169.37.74.223, Mozilla/4.0 (compatible; MSIE 5.01; Windows NT), 'Error resolving parameter FORM.EMP_IDThe specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name.The error occurred while evaluating the expression: #Form.Emp_ID# The error occurred while processing an element with a general identifier of (#Form.Emp_ID#), occupying document position (4:10) to (4:22). Date/Time: 01/30/03 15:03:08Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)Remote Address: 169.37.74.223Template: G:\Inetpub\wwwroot\div\mrn\insert.cfm'" "Error","TID=635","01/30/103","15:21:08","169.37.234.66, Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0), 'Error resolving parameter FORM.EMP_IDThe specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name.The error occurred while evaluating the expression: #Form.Emp_ID# The error occurred while processing an element with a general identifier of (#Form.Emp_ID#), occupying document position (4:10) to (4:22). Date/Time: 01/30/03 15:21:08Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)Remote Address: 169.37.234.66Template: G:\Inetpub\wwwroot\div\mrn\insert.cfm'" I just pushed this form out about 25 minutes ago and about 300 or so employees signed up and I only see these two errors, but I did notice it the log for other pages with hidden fields. Is it an issue with how I coded the hidden field or the location of the tag inside the form tags. I can never repeat this error on my machine, no matter how hard I try and I actually went to user who had the error and tried it again and it worked. I am kind of stumped. Thanks Mario This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

