You aren't enabling/disabling the form fields with Javascript are you?
Disabled form fields don't get passed.

Also, If the field is a radio button be sure you check one of them by
default or the field could be left blank and it won't get passed.  Same is
true for checkboxes.

You might also want to ensure that all your HTML tags are opened and closed
correctly - bad HTML will work fine in some browsers but break others...

-----Original Message-----
From: Vishal Narayan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 8:42 PM
To: CF-Talk
Subject: CF - Problem with missing Form Data


We are using CF4.5 with IIS5 on W2K server and SQL 2000 DB for our website. 
I have a big problem with users getting random errors about missing 
parameters - either form data or url parameters. The required form fields 
are validated for using javascript, which ensures that the problem is not 
caused by necessary fields being left unfilled. A sample of such an error 
is shown below :

----------------------------------------------------------------------------
-------------------------------
203.199.247.72 Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
An error occurred while evaluating the expression:
#form.job_id#
Error near line 57, column 13.

Error resolving parameter FORM.JOB_ID
The 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 processing an element with a general identifier of 
(#form.job_id#), occupying document position (57:12) to (57:24) in the 
template file D:\Inetpub\wwwroot\mysite\myfilename.cfm.
----------------------------------------------------------------------------
----------------------------------------

The page doing the referring is validated, and the error log shows that 
they are in fact being referred from the correct template. I know that the 
template doing the referring contains the specified form field. Is the 
browser somehow losing data? Is CF or IIS to blame ? Would like to know if 
anyone else has faced this problem, and what I can do to handle it.

Thanks in anticipation.

Vishal. 


______________________________________________________________________
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