You can definitely do that. I do it all the time. The error indicates that the field doesn't exist at all. Is it a checkbox or a radio button group?
On Oct 9, 2006, at 6:26 PM, Les Mizzell wrote: > I thought you could do the below to pass a null value if the user > didn't > enter anything into the form field (it's an optional field, for > example) > > fax = <cfqueryparam > value="#FORM.fax#" > cfsqltype="CF_SQL_VARCHAR" > null = "#YesNoFormat(NOT Len(Trim(Form.fax)))#" /> > > > I get a form.fax undefined error. > > > > > I thought I had my quota of coffee today. Maybe not.... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256037 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4