Right - I've had a problem call come through and it's stumped me a bit
 
- I have a page, say Page A,  with a form on and all it has at two radio buttons "called Mailtype" with the values "Global" and "Targetted" and a submit button.
- The Global radio button is set to checked and so has black dot in
- Page A submits to Page B.
- Page B checks for the value of Form.MailType and sets session variable accordingly:
 
<!--- Checks which type email has been chosen --->
<cfif Form.mailtype EQ "Global">
  <cfset session.MailType = "global">
  <cflocation url="" addtoken="No">
<cfelseif Form.mailtype EQ "Targeted">
  <cfset session.MailType = "targeted"> 
  <cflocation url="" addtoken="No">
 
An error has been generated:
 

The following error message displayed when I tried to log in

Error Occurred While Processing Request

Error Diagnostic Information An error occurred while evaluating the

_expression_: Form.mailtype EQ "Global" Error near line 37, column 20.

Error resolving parameter FORM.MAILTYPE 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 (CFIF), occupying document position

(37:1) to (37:32) in the template file

email_type_select.cfm.

Referrer:

choose_message_type.cfm

 
The referrer would suggest that the user certainly went from the form to the action page, so I fail to understand how the form field can not be defined?
 
This app has been working for a long time and no code changes have been made. Any ideas?

_______________________________________________________

 Regards,
                Richard Lovelock,
                Senior Application Analyst.

Westminster City Council - Web Support
Cap Gemini Ernst & Young
Southbank
95 Wandsworth Road
London
SW8 2HG

(     0870 906 7482
 
_______________________________________________________

 


=======================================================
This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
=======================================================

Reply via email to