Hi Ray
I put in some data and left some elements blank which should trip the error 
message but they are not.

cfdump yields
BTNSUBMIT       Submit Workshop
FIELDNAMES      
VALIDATION,WORKSHOPCODE,WORKSHOPTITLE,WORKSHOPTITLESHORT,WORK
SHOPTITLEALTERNATIVE,WORKSHOPTITLEEMAIL,WORKSHOPWEB,WORKSHOPA
UDIO,WORKSHOPINSTRUCTIONS,BTNSUBMIT
VALIDATION      2
WORKSHOPAUDIO   [empty string]
WORKSHOPCODE    atm
WORKSHOPINSTRUCTIONS    [empty string]
WORKSHOPTITLE   Appreciative Transitional Ministry
WORKSHOPTITLEALTERNATIVE        [empty string]
WORKSHOPTITLEEMAIL      [empty string]
WORKSHOPTITLESHORT      [empty string]
WORKSHOPWEB     [empty string] 

On 5 Apr 2012 at 5:44, Raymond Camden wrote:

> I'm totally confused now. So your saying:
> 
>  <cfif structKeyExists(form, items) and form[items] is "">
> 
> doesn't throw an error. But if they forget to fill out a form
> field,
> you don't get the message. How about quickly debugging and doing
> 
> <cfdump var="#form#">
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5848
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to