SoilentRed
Caaan do!
I have a very long form. Like 80 questions. They are broken into groups.
One of the first questions we ask determines which groups the form will show/hide via javascript presets in fabrik. that all works great.
At the end of the form, there is a calc element that does a lot of stuff and generates a summary report. Lots of if-else happening there.
My concern: because of the pagination, the user can go back to a previous section and put in a different answer for that one question that sends them down a given path. So, if they started answering questions down avenue B, then backtracked and went down avenue A, it screws up my calc at the end of the form.
I've tried using the Javascript "clear" preset to clear the elements in the group to handle the situation, but on testing, it is not clearing out the entries. Does clear only work for elements and not groups?
One of the first questions we ask determines which groups the form will show/hide via javascript presets in fabrik. that all works great.
At the end of the form, there is a calc element that does a lot of stuff and generates a summary report. Lots of if-else happening there.
My concern: because of the pagination, the user can go back to a previous section and put in a different answer for that one question that sends them down a given path. So, if they started answering questions down avenue B, then backtracked and went down avenue A, it screws up my calc at the end of the form.
I've tried using the Javascript "clear" preset to clear the elements in the group to handle the situation, but on testing, it is not clearing out the entries. Does clear only work for elements and not groups?