Re: loop over list question

2008-07-17 Thread Rachel B
Carl, Will Brian Kotek's FormUtils help only with the problem i was having earlyer. where it does this serial 101, 202, ticket no:5 model no: test, test2 an needs do this serial 101 ticket no: 5 model no:test serial 202 ticket no: 5 model no:test2 or will this help with my new problem of lets

Re: loop over list question

2008-07-17 Thread Carl Von Stetten
Rachel, I believe it would, but you would have to modify your form structure a bit. If you download the files from RIAForge and run them, you'll get a feel for how you might name your fields, and how the data will appear when submitted. Carl Rachel B wrote: Carl, Will Brian Kotek's

Re: loop over list question

2008-07-16 Thread Rachel B
Well i wanted to thank both of you for the help, an i was able to solve my problem. By putting a counter in it i am able to accomplish my goal. the only thing i got to figure out is why it doesn't put the correct information into my 2nd serial. Like it i fill out 2 serial numbers and press

Re: loop over list question

2008-07-16 Thread Carl Von Stetten
Rachel, It would still be helpful if you could post a dump of the form scope so we can see the structure of the data being passed into your template. We would likely be able to provide you with more intelligent suggestions than from looking at your query alone. Thanks, Carl Rachel B wrote:

Re: loop over list question

2008-07-16 Thread Rachel B
Here is the form i am working with. !--- Adds Multiple Ticket fields --- script type=text/javascript !---Allows us to add multiple fields --- function addInput(divName){ var dynamic = document.getElementById('dynamicInput'); var thevalue = document.getElementById('theValue'); var count =

Re: loop over list question

2008-07-16 Thread Carl Von Stetten
Rachel, While this is helpful, can you add a cfdump var=#form# to the top of userform.cfm? Then submit your form with multiple entries, and copy and paste the cfdump results into a message for us to examine. Thanks, Carl Rachel B wrote: Here is the form i am working with. !--- Adds

Re: loop over list question

2008-07-16 Thread Rachel B
Carl, I did the cfdump and here is what i got CURRENTDATERESOL on,on CURRENTDATEVERT on,on DEPTVENDOR Shipping/Receiving,Shipper DESCRIPTION descr,descript FIELDNAMES

Re: loop over list question

2008-07-16 Thread Carl Von Stetten
Rachel, You might want to look into Brian Kotek's FormUtils, which I believe is designed to handle just this kind of situation. http://formutils.riaforge.org/ HTH, Carl Rachel B wrote: Carl, I did the cfdump and here is what i got CURRENTDATERESOL on,on CURRENTDATEVERT on,on

loop over list question

2008-07-15 Thread Rachel B
Hey Everyone, well i been trying to figure this out for days but i am having no luck. In my form i am able to add multiple serial numbers an it all goes into the database with no problems. However, i need every serial number i add to create a new field an not go into the same field This is

Re: loop over list question

2008-07-15 Thread Greg Morphis
One way to troubleshoot this is to remove the cfquery and replace with cfoutput See what you're generating and passing to the DB Copy the output and place it in your DB GUI and run it.. You'll find out pretty quick if it's CF or the DB.. So you have all your fields in one huge list? You

Re: loop over list question

2008-07-15 Thread Rachel B
Thank you greg for replying. I am pretty sure that there is nothing wrong with the database because the information still gets submitted in there. The way i have the cfloop now all the information still gets submitted into the database. Except, the problem is, is how it submits. This is how it

Re: loop over list question

2008-07-15 Thread Rachel B
Thank you greg for replying. I am pretty sure that there is nothing wrong with the database because the information still gets submitted in there. The way i have the cfloop now all the information still gets submitted into the database. Except, the problem is, is how it submits. This is how it

Re: loop over list question

2008-07-15 Thread Carl Von Stetten
Rachel, Can you cfdump var=#form# the form scope and paste the output into a message? It would help to see how the form data is constructed. Carl Rachel B wrote: Hey Everyone, well i been trying to figure this out for days but i am having no luck. In my form i am able to add multiple