Hi,
I'm building a Power App where users can choose up to 4 activities from 4 dropdown menus, and each activity equals to 1 point. The maximum number of activities they could choose from is 4 (so could be less than 4 activities chosen). How do you limit the number of points the user can get? @
hi @ang710,
are you using comboboxes or dropdowns? and if you are using dropdowns, do you have 'AllowEmptySelection' turned on? If you are allowing for empty selections you can just sum the number of dropdowns that AREN'T blank. otherwise if you are using multiselect comboboxes, you can just SUM the count of the rows of the combobox.selecteditems. if the rowcount > 4 notify user, else if rowcount <= 4 SubmitForm.
------------------------------------------------------------------------------------------------------------------------------
Please click "Accept as Solution" if this post answered your question so that it is helpful for people having similar questions. If you found this post helpful smack that Thumbs up button! Thanks!
Hi One!
I'm using 8 dropdown boxes, and I have also sum the number of dropdowns that are not blank. Sorry I had made a typo about using 4 dropdowns, I meant to say 8. There's 8 options for the user to choose from. I want to be able to limit the number to only 4 dropdowns max, so if the user chooses 8 dropdowns, the total points will only show "4".
Hi @ang710,
It would depend how you want to go about limiting the number of points. Do you want the user to still be able to select options from the other dropdowns even if the points stay at 4? or would you prefer to lock the other dropdowns after 4 selections have been made? you could also make them invisible if you would rather hide them from the user after they make their selections?
Hi!
I want the user to still be able to select options from the other dropdowns even if the points stay at 4.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
200 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
261 | |
85 | |
71 | |
69 | |
66 |