Colonel,

I would make a cfparam tag at the top of your page
<cfparam name="form.prefs" default = "">

then have a cfif statement where you want to find out

<cfif form.prefs is "">
  some code
<cfelse>
  some other code
</cfif>



Brian Yager
President - North AL Cold Fusion Users Group
http://www.nacfug.com
Sr. Systems Analyst
Sverdrup/CIC
[EMAIL PROTECTED]
(256) 842-8342


-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 1:02 PM
To: CF-Talk
Subject: Checked variables passed from <form


I'm passing a form variable and displaying it on my action page.

<cfoutput>
#prefs#
</cfoutput>

How can I check the above variable to see if its empty or not?




---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to