Give user feedback based on radio button choice

Greetings, I’ve created a quiz not with the quiz add-on I’m using radio buttons for the choices with values. I would like to display on the results page a comment based on the choice the user made. Kind of a feedback approach… I can’t seem to find a plugin or a feature that allows me to do this… I do have a plugin from GravityWix that lets me put merge tags on a page. But nothing like what I wish to do…

I thank you .

Hello @fbernall - if you did not use the Quiz Add-On and instead used regular radio button fields, you can use the conditional shortcode in your confirmation text, to provide an explanation of the correct answer or feedback about the answer they selected. Here is the information about conditional shortcodes:

That will only work in a text type confirmation, not a Page or Redirect confirmation. If you have any other questions for us, please let us know.

Ah, Thanks Chris, this explains why I could not use it on my page confirmation. All I got was “oops your form could not be found” or something to that effect… Any other suggestions? The Quiz add-on won’t give me negative values and renders all negative values to zero… Thanks again Chris…

It’s hard to say exactly without seeing your form and what you need to accomplish. What additional information can you share here?

It is basically a quiz for my site in an effort to gather emails and funnel users to my work. It is about inflammation. there are 20 questions that are graded. I want to display feedback on each of the choices the user makes. So with 20 questions with 3 radio buttons each, I’ll have to create 60 feedback items. Each feedback to match the choice of radio button. the grading goes from 20 to -20. I have three different notification pages and “inflammed”, “not inflammed” and a “neutral” page. I’m using the GP Post Content Merge Tags Perk. like this:

[gravityform action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="None"] add more fruit [/gravityform] 

[gravityform action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="One"] Not bad, keep it up [/gravityform] 

[gravityform action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="2 to 4 servings"] Way to go![/gravityform]

Before, it used to say “oops cannot find your form” or something like that. Now, withe above code, nothing shows…

I’m going crazy…

Thanks Chris.

Ok, so I’ve made some progress. Here’s what I have in the notification page:

[gravityforms action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="None"] In the last 48 hours how many servings of fruit have you had? You chose: None. {Name (First):29.3}, not having any fruits is not a good idea. [/gravityforms]

[gravityforms action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="One"] In the last 48 hours how many servings of fruit have you had? You chose: One. {Name (First):29.3}, consider adding a little more [/gravityforms]

[gravityforms action="conditional" merge_tag="{In the last 48 hours how many servings of fruit have you had?:20}" condition="is" value="2 to 4 servings"] In the last 48 hours how many servings of fruit have you had? You chose: 2 to 4 servings. this was a great choice {Name (First):29.3}, this is going to make you really healthy [/gravityforms]

It works. And if that’s how I have to do the next 59 entries, I will. but is there quicker way to enter that feedback, instead of copying and pasting the questions? No matter what, I can see that it can be done! And thanks for hanging with me on this Chris.

If you have 59 more possible conditions, there’s no quicker way that copying, editing and pasting. I’m glad you stopped to be sure this approach is going to work, before getting all of the conditions done, and then finding out it will not work.

Thanks. You and Clay from GravityWiz were very helpful in this…

1 Like