Setting Variable for Button Group Item in Button Group

Setting Variable for Button Group Item in Button Group

  

Hi, I have created a survey questionnaire from Entity and adding a button group in list item in order to store the rating. Any suggestion on how I can store the rating for each question for a specific user name ?

Hi Prasanta,

What is your data model?

Kilian Hekhuis wrote:

Hi Prasanta,

What is your data model?

Hi Kilian, Thanks for your reply. The Data Model is like below 


Entity 1--- ID, Question

Entity 2-- ID,QuestionID,Response



Trying to prepare a loop to save the selected button from the buttongroup.



Hi Prasanta,

You should add a UserId to Entity 2, as you also want to store the user that answered that question. To get the UserId for the currently logged on user, use the built-in GetUserId() Function.