[SOLVED] Stop cheating in QR scanner app

Hi all,

I am using the QR code scanner function for a scavenger hunt app. I have the app ready to scan QR codes with the value, tag 1, tag 2 & tag 3, (seen below).
Screenshot 2024-06-19 084517

I want to make sure people do not cheat by scanning one QR code multiple times to proceed to the next stage.

The user should be able to scan ‘Tag 1’ once, but after that if they attempt to scan it again then it leads to an error message, or something prompting that they have tried to cheat.

I have been going back and forward with this and struggling as the ‘Tag 1, Tag 2, Tag 3’ values are text and can not be stored in a list. So far I have got an error label to work if the value is not in the table, (blocks below), but this does not help if someone was to just scan Tag 1 many times to proceed.

Any help or ideas would be greatly appreciated.

Thank you

Hello @nuuzonessqnzvv
Thank you for sharing all the details
To prevent users from scanning the same tag many times I suggest adding a variable that is a list and every time they scan a tag add it on that list. Then you need to add an extra condition to check if the variable list contains the tag.

Thank you @ioannis

Issue all resolved, cheers :slight_smile:

1 Like