Hi. I'm test-driving CC6 before buying it, and I'm stuck.
'
The goal is to use CF6 for a form to capture survey results.
On load, the table shows all results, which I might expect. When I change a value in the dropdown and click the button, nothing changes. I am unable to figure out how to apply the dropdown selection as a filter for the results table. I cannot find any examples of this in the forum or FAQs. Any suggestions?
Thanks!
'
The goal is to use CF6 for a form to capture survey results.
- I'm able to create a dropdown with the name question_dropdown which reads a table that contains questions and their key. The dropdown list the questions. The field name (if that's the appropriate term) is choose_question.
- I'm able to create a function that reads the data from the results table using {var:read_answer_table}. Each record of the results table contains
answers.user_id
answers.question
answers.answer - I've created a task button with the event set to view.
- I have an event called view, which contains:
{fn:read_question_table}
{view:question_dropdown}
{view:task_button7}
{fn:read_answer_table}
{view:Responses} - The function that reads the data has a where clause that begins answers.question: and tried concluding it with {data:question_dropdown}, {data:choose_question}, {var:question_dropdown}, and {var:choose_question}.
On load, the table shows all results, which I might expect. When I change a value in the dropdown and click the button, nothing changes. I am unable to figure out how to apply the dropdown selection as a filter for the results table. I cannot find any examples of this in the forum or FAQs. Any suggestions?
Thanks!