Is it possible that the action page is being called directly -- i.e. not being posted.
For instance, if someone has bookmarked the action page this error might occur if
publish is the first form
variable referenced.
Craig
> -----Original Message-----
> From: Peter Fralin [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 16, 2001 3:00 PM
> To: CF-Talk
> Subject: form fields not being passed on the action page
>
> I have a form field that is in a couple of radio button input tags, here is
> the code
>
> <p><input type="radio" name="publish" value="1"> Please submit this
> page for publishing.
> <br><input type="radio" name="publish" value="0" checked> This
> page is in progress, please keep it in "Edit" mode.</p>
>
> As you can see the second input tag is checked, so the form would have to
> return some value.
>
> But it is not as I am getting error messages from the action page that
> indicate that '#publish#' is not defined,
> on the action page I have this code;
>
> <cfif publish is '1'>
>
> 99% of the time the page works without problem, but in a small percentage of
> the time the action page hits that line of code and errors out with the
> following error message;
>
> An error occurred while evaluating the expression:
> publish is '1'
> Error near line 10, column 14
> Error resolving parameter PUBLISH
> ColdFusion was unable to determine the value of the parameter. This problem
> is very likely due to the fact that either:
> You have misspelled the parameter name, or
> You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or
> CFTABLE tag.
>
>
> Any ideas as to why this is happening?
>
> - Peter Fralin
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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