[thelist] Re: FORM fields are being passed as URL parameters???
Mauro Enrique Luna Avelar
mlane012 at cfe.gob.mx
Mon Mar 12 15:12:51 CST 2001
The trouble is....
you are sending your parameters by URL variables and you are using them as
FORM variables...
#FORM.ProjectTypeID#
you can set your form tag with parameter: method="post" and then, you can
check for any FORM.variable.
At 02:30 PM 12/03/2001 -0600, Dan Slater wrote:
>Hi all,
>
>What would cause FORM.fieldname to be passed as URL.fieldname - even tho NO
>code on my page uses URL parameters. Basically, all i've got is a page
>that's multifunctional (Add, Edit, View and Delete records). All of my
>fields are inside a FORM tag. The form tag's ACTION attribute doesn't even
>pass any URL parameters.
>
>/me is confused. Is there a bug in CF Server that causes this? I see no
>way for a FORM.fieldname to be "converted" to a URL parameter upon form
>submission.
>
>Here's my form declaration:
>
> <form name="ProjectAdd"
>action="ProjectAddEditViewDelete_Action1.cfm" onsubmit="return
>CheckFrm(this);">
>
>Usually the debug code provided by CF Server says something about FormFields
>- but instead i'm getting this:
>
>Error Occurred While Processing Request
>Error Diagnostic Information An error occurred while evaluating the
>expression: #FORM.ProjectTypeID# Error near line 7, column 24. Error
>resolving parameter FORM.PROJECTTYPEID 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.ProjectTypeID#), occupying document position
>(7:23) to (7:42) in the template file
>F:\intranet\clientmanagement\projects\ProjectAddEditViewDelete_Action1.cfm.
>Date/Time: 03/12/01 14:19:32 Browser: Mozilla/4.0 (compatible; MSIE 5.01;
>Windows NT 5.0) Remote Address: 172.16.3.80 HTTP Referer: <removed by me>
>Query String:
>ClientID=22&ProjectTypeID=5&ProjectDescription=Process+Data&Status=0&Purchas
>eOrderNumber=&ProjectTotalBillingEstimate=0.00&EmployeeID=78&ProjectBeginDat
>e=10%2F02%2F2000&ProjectBeginDate=12%2F31%2F2001
>
>
>Execution Time
>20 milliseconds
>
>Parameters
>URL Parameters:
>
>CLIENTID=22
>EMPLOYEEID=78
>PROJECTBEGINDATE=12/31/2001
>PROJECTDESCRIPTION=Process Data
>PROJECTTOTALBILLINGESTIMATE=0.00
>PROJECTTYPEID=5
>PURCHASEORDERNUMBER=
>STATUS=0
>
>
>-------------------------------------------------------------------------
>This email server is running an evaluation copy of the MailShield anti-
>spam software. Please contact your email administrator if you have any
>questions about this message. MailShield product info: www.mailshield.com
>
>-----------------------------------------------
>To post, send email to list at dfwcfug.org
>To subscribe / unsubscribe: http://www.dfwcfug.org
>
---------------------------------------------------------
. . . . . . . . . . . . . . . . . . . . . . . . .
Mauro Enrique Luna Avelar
Supervisor Grupo Web
Planta Nuclear Laguna Verde
Veracruz MEXICO
Internet: mlane012 at cfe.gob.mx
Intranet: mluna at sistlv11.lv.cfemex.com
More information about the thelist
mailing list