How to populate a UI with different number of questions

on a UI I need to show some questions and the number of questions can vary, like sometimes it can be 6 or the next day it can be 9-how to configure this
now in this case only consider i need to select atleast 2 questions without which i should not be able to submit the case,how to implement this validation

Hi @TanyaS58,

You can achieve it by repeating dynamic layout by calling an editable D_Page. Store the answers on the editable D_Page. Now on click of submit call a flow action validate rule by using the function countInPageList(LookFor, LookAt, LookIn) and compare with >2. Hope this helps you. Thanks

Hi @TanyaS58,

we can achieve this by using repeating dynamic layout and section. Create one data table there you can store all your Questions and use one Data page to fetch the questions from that data table, you also use filter conditions so that results may varying like you want sometimes 6 and sometime 2. In Repeating Dynamic layout give the source as newly created data page and also create one section in that section add the question property and also add the pySelected property. The newly created section can be embedded into repeating layout. So that you can see the results as you want and also you can add the validations also by using functions(countInPagelist)

.