Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem regarding "List"

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi Guys,

I am actually facing a problem with processing Lists.

What I am doing is I am displaying a number of records dynamically retrived by a querry and am displaying out the records as a form where the user can modify the values too.

i use the form variable as a list and split it into each element with "listgetat" function and the process the individual record.

But the problem is that when the field is empty the list
also contains a space and which creates problem


suppose the form is like this

record1 name1

record2 name2

submit reset

if form variable was form.record then it contains
record1,record2
but if record2 is empty then the list is only record1
My question is how do i process record2 even if it is empty.


Thnax
Gg
 
Hi!

why dont you name each of your text field with a different name?
It would be way easier to handle...

I did an example of this today when answering someone else, see this topics: how to create cfloop for insertion of data

it should help ya...

Post again for any further help...
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top