RadioButtons and Eventswitcher / Redirect to different pages?

Redirect to different pages based on radio button survey scores.

Overview

The issue was not knowing the correct syntax to sum the values from multiple radio button fields in the CF EventSwitcher.
Name the radio button fields in an array format, then use the provided sum syntax within the EventSwitcher to calculate the total and set up conditional redirects.

Answered
ChronoForms v6
co contour 09 Apr, 2019
Hi there
I want to build an easy survey
6 Questions, all Answers with RadioButtons, every Answer has a different Value (1 or 2 or 3 ...)
I want to count all Values and then depending on the summary redirect to different pages

I tried to solve this with
EventSwitcher, but I dont know the right syntax, to get the value of the Answers

You can see it here
http://kunden.contour.de/c-boxx/administrator/index.php?option=com_chronoforms6&cont=manager&chronoform=test&event=load

Who can help me, is this the right way or have I to solve it with php?

Tank you very much
co contour 09 Apr, 2019
Looks like this
============================
Question1
o Answer 1 =1
o Answer 2=0
oAnswer 3=5

Question2
o Answer 1 =2
o Answer 2=0
oAnswer 3=1

and so on.
============================
if the sum of the answers = 0 then redirect to #URL
if the sum of the answers = 1 then redirect to #URL
and so on
=====================================
Is it possible to add the values from the radiobuttons in
EventSwitcher or in If Conditions
what Syntax:

data.sum:f1,f2,f3,f4,f5,f6
data.sum:field_radios1,field_radios2,field_radios3,field_radios4,field_radios5,field_radios6

I spent a hole day and have no Idea
he healyhatman 09 Apr, 2019
Answer
Call the fields for example

question[0]
question[1]

etc etc

Then use {data.sum:question}
co contour 10 Apr, 2019
Thank you very much, this was a perfect solution for my problem.
SOLVED!
This topic is locked and no more replies can be posted.