Set the value of survey question based on url

nikhil79
Tera Contributor

I have a survey with multiple questions. One of them is of type radio button with the following values 1, 2, 3 based on which I am making other fields mandatory & visible.


Now, I am triggering an email when the survey state changes to ready to take.

In the email I have added 3 options: How efficient was Service Desk Agent on the scale of 1-2-3?

 

If user clicks on 1(hyperlink) in the email, it should open up the survey with the value 1 filled in the actual question and making related fields mandatory and visible.

If user clicks on 2(hyperlink) in the email, it should open up the survey with the value 2 filled in the actual question and making related fields mandatory and visible.

If user clicks on 3(hyperlink) in the email, it should open up the survey with the value 3 filled in the actual question and making related fields mandatory and visible.

 

I am not able to set the value in survey based on URL value.

 

Is that even possible?

3 REPLIES 3

Vishwa Pandya19
Mega Sage

Hi Nikhil,

 

Are you creating 3 survey records for 1 user and you want to add in hyperlink of each of those survey's to 1, 2, 3?

Like 1st survey's hyperlink to value 1, 2nd to 2nd etc?

 

nikhil79
Tera Contributor

@Vishwa Pandya19 
Nope, there is only 1 survey which has several questions.
The 1st question has 4 answer options (A,B,C,D) - out of the A/B/C/D only 1 can be selected.

Now, as soon as survey is created we send the user an email with these values A/B/C/D.
If user clicks on A then the survey should open up with the value A pre-selected in question1. 

I am not able to achieve this pre-selection part.

Unfortunately, there is no way to use UI policies or any kind of script on Survey's.