I have a cfform that is dynamically populated with test questions and answer
choices from a database. The answer choices are also dynamically named based
upon the id of the question, e.g., input name=Q#QuestionID#. I am currently
able, upon submit, to pass the values of user-selected answers,
Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 7:37 AM
To: CF-Talk
Subject: Insert Looped Form Entry into Database
I have a cfform that is dynamically populated with test questions and
answer choices from a database. The answer choices are also dynamically
named based upon the id
Looped Form Entry into Database
I have a cfform that is dynamically populated with test questions and
answer choices from a database. The answer choices are also dynamically
named based upon the id of the question, e.g., input
name=Q#QuestionID#. I am currently able, upon submit, to pass the
values
?
www.bennadel.com/ask-ben/
-Original Message-
From: Joel Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 7:37 AM
To: CF-Talk
Subject: Insert Looped Form Entry into Database
I have a cfform that is dynamically populated with test questions and
answer choices from a database. The answer
, you either need to put that value
in a local variable or explicitly name the row.
Results.QuestionID[CurrentRow]
-Original Message-
From: Joel Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 8:53 AM
To: CF-Talk
Subject: Re: Insert Looped Form Entry into Database
Thanks
of a loop for a query result, you either need to put that value
in a local variable or explicitly name the row.
Results.QuestionID[CurrentRow]
-Original Message-
From: Joel Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 8:53 AM
To: CF-Talk
Subject: Re: Insert Looped Form Entry
-
From: Joel Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 8:53 AM
To: CF-Talk
Subject: Re: Insert Looped Form Entry into Database
Thanks for the quick response! This does work, but now I am running
into another problem. While it submits the right number of entries
to
my
7 matches
Mail list logo