Notifications
Announcements
I need to build an app that authenticates users for buying restricted products. Authorised users have got a 4 digit pin number and when they call we need to ask them for 2 of the 4 digits - how can I get an app to randomly ask for 2 digits eg 1 & 2, 2 & 4 etc for each authorisation. I'm fine with the checks to see if the numbers match afterwards but I'm a bit lost on ideas for getting it to ask for 2 random digits.
Ideas please!
The logic could be:
Thanks @VauBee, will give it a try! Will confirm when I've tested it.
Got there with the following, thanks for the help!
ClearCollect(colPinSelection, Shuffle(Sequence(4)));Set(varRandomPin1, First(colPinSelection).Value);Set(varRandomPin2, Index(colPinSelection,2).Value)
👍 Thanks for letting me know. Wasn't aware of Shuffle. Great...
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268