Hi ,
Recently i came across an interview question like how you will save and display different questions for different group of users in UI ? So have two doubts regarding this question, as follows
Requesting suggestions from everyone.
Thanks in Advance,
Pradeep
Discussion posts and replies are publicly visible
Hi pradeepb8546 , Yeah, we can achieve this by using the "Is user a member of this group" n "ShowWhen" conditions. First, we need to create a record or a set of questions that we want to display for a particular group. Then, we need to display the set according to the groups.Example:Set1: {Q1, Q2, Q3, ... Qn}Set2: {Q1, Q2, Q3, ... Qn}Group1 will see the Set1 questions, and Group2 will see the Set2 questions. Similarly, you need to set this up accordingly. For a better approach, as Chaitanya suggested, to save or update the questions, we would need a database to store them.
Thank you so much for answering.