wrap it in a <cfif> so..
<cfif isundefined("form.q1")>
           <cfset form.q1 = "">
</cfif>

Rob

On Tue, Oct 28, 2008 at 3:33 PM, Rick Sanders <[EMAIL PROTECTED]> wrote:

> Hey all,
>
>
>
> In my form some values may be left empty. For example a form field named
> q1.
>
> It's fine if it's empty because the user can go back and fill it in later
> if
> they wish.
>
>
>
> How do I get passed the "q1 is not defined in Form" CF error? All I want to
> do is enter an empty value. How can I allow it to do that for insert and
> updates?
>
>
>
> Thanks!
>
>
>
> LogoSig
>
> Rick Sanders
>
> Webenergy
>
> Canada: 902-431-7279
>
> USA:       919-799-9076
>
> Canada: www.webenergy.ca
>
> USA:       www.webenergyusa.com
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314465
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to