cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

What is your idea on below survey powerapps forms...?how to disply list of question in the same screen based on selection..?

Hi Mates,

we have a list of checkbox in screen1, 

if only one checkbox selected then the list of questions 5 questions should be displayed in screen2.

If two checkboxes selected, then question set1(5 questions) and set2(2 questions) should be display means one set1 after another set2 question. 

Note: if more checkbox selected in screen1 then set of questions will be increased. Here the question is how can configure all these questions in the same screen2, which means screen2 should be the same but question sets should be displayed one set after another.

 

survey.png

kindly guide me with clear information.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @muralikrishna12 ,

Could you tell me:

1)what is your data source?

2)how do you store those questions in your data source?

I assume that you store data like this:

1) field1(question list, choice type) with these choices: question list1,question list2,question list3,question list4

2)field2(questions, text type)with questions: question1, question2,question3,.....

 

Then in your app, you could set like this:

1)insert 4 checkboxes

Checkbox1's Text:

"question list1"

Checkbox2's Text:

 

"question list2"

 

Checkbox3's Text:

 

"question list3"

 

Checkbox4's Text:

 

"question list4"

2)insert a gallery to display questions

set the gallery's Items:

Sort(
Filter(listname,
If(Checkbox1.Value,'question list'.Value="question list1")||
If(Checkbox2.Value,'question list'.Value="question list2")||
If(Checkbox3.Value,'question list'.Value="question list3")||
If(Checkbox4.Value,'question list'.Value="question list4")
),
'question list'.Value
)

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yutliu-msft
Community Support
Community Support

Hi @muralikrishna12 ,

Could you tell me:

1)what is your data source?

2)how do you store those questions in your data source?

I assume that you store data like this:

1) field1(question list, choice type) with these choices: question list1,question list2,question list3,question list4

2)field2(questions, text type)with questions: question1, question2,question3,.....

 

Then in your app, you could set like this:

1)insert 4 checkboxes

Checkbox1's Text:

"question list1"

Checkbox2's Text:

 

"question list2"

 

Checkbox3's Text:

 

"question list3"

 

Checkbox4's Text:

 

"question list4"

2)insert a gallery to display questions

set the gallery's Items:

Sort(
Filter(listname,
If(Checkbox1.Value,'question list'.Value="question list1")||
If(Checkbox2.Value,'question list'.Value="question list2")||
If(Checkbox3.Value,'question list'.Value="question list3")||
If(Checkbox4.Value,'question list'.Value="question list4")
),
'question list'.Value
)

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,438)