Skip to main content
3 of 3
added 44 characters in body
Justin Long
  • 7.6k
  • 17
  • 18

Theoretically it is possible.

  • IF you are on EE 2.9+ you can use Mathematical Operators in your conditionals. (Thanks Derek for reminding me about that!)
  • If you are using a version below EE2.9 you would need to use something like MX Calc to calculate the totals and then use that to call an embed to get around parse order issues.

Having said that is probably not the best approach because EE only allows you to have 10 segments so your test could only have 10 questions (more likely 8 if you have a template_group/template structure already in place).

You would be better off either doing the calculation when the user submits the form and appending the total value to the url or better yet determine the template you want to display and change the redirect value to that based upon the total.

Another option would be submitting the form and then using something like Mo Variables to grab the POST data on the next page.

Justin Long
  • 7.6k
  • 17
  • 18