Hi,
I have multiple approximately 20 or so dropdowns on a page, a user might have to complete at least three of these.
Based on the selected values in each dropdown, I want to display data to the end user that is filtered by these dropdowns, where each of the above three dropdowns are three distinct fields in my repeating group’s data source.
Any ideas on how to achieve this?
Thanks.
Hi there, @John245859… if I understand your post correctly, it sounds like you are just describing constraints on the repeating group’s data source. So, the data source is a search in a data type where a field is equal to one of the dropdown’s values, another field is equal to another dropdown’s value, and so on. Also, you would need to check the Ignore empty constraints checkbox so that any dropdown that doesn’t have a selected value is ignored.
Hope this helps.
Best…
Mike
3 Likes
Hi @mikeloc, thanks for your comment and apologies for the delayed reply.
Your suggestion makes sense, however one thing I failed to mention was that I need to filter the repeating group in 3 sets of constraints, with the first of the 3 a multiple select. Allow me to explain.
Constraint set 1:
Question A - this is the one question which is a multiple select with a unique answer
Question B.1 - Single select
Question C.1 - Single select
Constraint set 2:
Question A - this is the one question which is a multiple select with a unique answer
Question B.2 - Single select
Question C.2- Single select
Constraint set 3:
Question A - this is the one question which is a multiple select with a unique answer
Question B.3 - Single select
Question C.3- Single select
…
Each of the constraint sets will need to be applied to the repeating group data source.
Question B and C will all have different values (sometimes same values but that is irrelevant).
I can get a single constraint set to work on a single repeating group, but not multiple (as I mentioned, there could be up to 20 constraint sets).
Any help appreciated, thanks.