I don't think you need another repeated;
just write out the HTML yourself at the
appropriate time inbetween each row display
of the "question" repeated.
Perhaps you could name the checkboxes
QuestionID:Answer1ID, QuestionID:Answer2ID,
etc. You can then access them on a submit
with CSpider.getWebVar("QuestionID:Answer1ID").
CSpider.getWebVars() will return an
Enumeration of all web var names.
With some standard naming conventions
for questions and answers, you could very
quickly loop through and determine what
question/answer checkboxes were selected.
-Chip
Team NetDynamics
[EMAIL PROTECTED] wrote:
>Hello,
>
>I hope someone has done this before and can give me some pointers.
>
>I have a stored procedure that brings back questions and answers.
>I split the results into two session objects, one that contains only
>the question information and one that contains only answer information
>(and the corresponding question Id). When I create the questions object
>I include a field for the row of the session object for which its
>corresponding answers begin to make retrieval faster.
>
>When displaying the answers, I want to make each one a checkBox. This
>is where I am having difficulties. Currently, the questions are in a
>repeated on my ND page. Do I need to create a repeated within that repeated
>and loop through the questions answers to display them? If so, how
>do I capture the value of the checkBoxes when the page's submit button
>is clicked?
>
>If you need further information, please let me know. Any ideas are
>appreciated.
>
>Thanks in advance,
>
>Sal
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]