Any sample code for a grid-like form?


On Thu, Jan 27, 2011 at 8:16 PM, Monique Boea <moniqueb...@gmail.com> wrote:

>  Hello All
>
> I have a form which is design like an excel spreadsheet with about 60 input
> rows.
>
> The user may enter values for some and not the others.
>
> I am stuck on entering the values into the database.
>
> I use the following code to loop through the forms vars but don't know
> where to go after this.
>
> <cfloop list="#StructKeyList(form)#" index="key">
> <cfif #form[key]# NEQ "Submit" AND #form[key]# NEQ "FIELDNAMES">
>  <cfoutput>#key# = #form[key]#<br></cfoutput>
> </cfif>
> </cfloop>
>
>
> Any suggestions?
>
> P.S. Thank you guys for all of your help. It is appreciated.
>


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

Reply via email to