>Then why can't you just save the form field with multiple values to
>your database? unless I'm misunderstanding you.
>You can save the list to your DB in a varchar field and then pull it
>out and set the value to a list..
>
>
>On Feb 20, 2008 11:03 AM, erik tom <[EMAIL PROTECTED]> wrote:
>>
Never mind I got it I got rid of the loop and it working now
<cfif isDefined("form.btnAdd")>
<cfset listItem = #form.foundOn#>
<cfquery name="addTopMenu" datasource="cfelsunrise" dbtype="ODBC">
insert into dbo.Menu values ('#form.topLevel#','#form.txtAreaDesc#',
'#listItem#','NULL')
</cfquery>
<cflocation url="#cgi.script_name#">
</cfif>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299424
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4