Hi,
I am building a questionnaire form: displaying a table using repeater. Each row contains a question and it's answer (radio button choices for the answers)
I set the answer column in the table display as radio button and use a dynamic list.
In the before page script:
I fetch the table, then loop through it, for each row, I set the dynamic list query value by the question in that row.
However, the answers for all the rows are the same (the last row's answer in the database)
How can this be done?
Thanks,
Xiaoli
How to use dynamic list on a table column? - working now
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
How to use dynamic list on a table column? - working now
Last edited by xren on Wed Sep 18, 2013 7:26 pm, edited 2 times in total.
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Hard to say what's wrong without looking at your form. I'm guessing that your Dynamic List has a single replaceable variable which contains your SQL statement and this is mapped to one of your table columns. Can you make sure that this variable is marked as required in the Dynamic List.
The system will try and share a Dynamic List specified for a table column - it does this to minimize the number of times the list has to be built. To stop this sharing, the list must have at least one list field marked as required that is mapped to a table column.
You might also switch on debug for the list so you can see when it is built.
Regards
Jon
The system will try and share a Dynamic List specified for a table column - it does this to minimize the number of times the list has to be built. To stop this sharing, the list must have at least one list field marked as required that is mapped to a table column.
You might also switch on debug for the list so you can see when it is built.
Regards
Jon
0 x
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
Who is online
Users browsing this forum: No registered users and 18 guests