First, I would double check to make sure the name of that form field is
UserPassword, if it can't find the form field. You can also check your
debug output in the Parameters section "Form Fields" which will display all
the form fields passed to that page as well as their values.
Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com: (703) 805-1095
DSN: (703) 655-1095
-----Original Message-----
From: Hubert Earl [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 7:15 PM
To: CF-Talk
Subject: Problem with login page
hi. when i submit my login page i get this error message:
"
Error Diagnostic Information
An error occurred while evaluating the expression:
#Form.UserPassword#
Error near line 8, column 15.
----------------------------------------------------------------------------
----
Error resolving parameter FORM.USERPASSWORD
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.UserPassword#), occupying document position (8:14) to (8:32)."
This is the code I'm submitting, but darned if I could find anything wrong
with it:
<CFQUERY NAME='CHECK' DATASOURCE='Clico'>
SELECT * FROM User
WHERE UserName = '#Form.UserName#' AND
Password = '#Form.UserPassword#'
</CFQUERY>
I've checked datasource name etc. Could anyone suggest what I may be
overlooking? Thanks.
---
Hubert Earl
ICQ#: 16199853
AIM: hubertfme
My Jamaican Art, Craft & More Online Store:
http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists