Hello,
I have setup a QR Scanner page on my website and it will be used for check-in/check-out during events for volunteers.
and I setup everything to then realize that its displaying first item. so I need help to fixing this issue.
I have already tried multiple ways to try to fix it, but I didnt succeed in doing so.
if anyone could help, I could send the editor link to you.
Thanks!
When you use the QR code scan you should get a value. You need to filter the tickets so the unique id or value = the QR scanned value.
Right now you arent adding back in the data you get from the QR scan.
The QR scan data is displaying, but its displaying the first item of tickets (a data field).
i have 3 things connected together.
User, Event, Tickets.
User registers for a event → ticket is created → ticket is added to event (and vice versa) → ticket is added to user.
so when the QR Code is scanned. it should display the “dropdown event selection” which is the event selected by a staff.
the data is displaying properly, but its displays first item of tickets so i want to fix that to display the data of the qr code scanned.
it only displays first item, although the qr code is different.
i can dm you the editor link if you dont mind checking the data and workflow.
Yes you need to filter the tickets so it uses the QR code data. Right now you are missing the :filtered operator.
It should look like Event’s Tickets:filtered first item
Where in the filtered you do Unique ID=QR scan data or whatever data is saved on the qr scan.
I cant do the filtration. when I do filter, only option I can do is “user”
the data that the QR Scan has is “Volunteer Code” not the ticket code or id.
so anyway I could fix that now?
The core issue: Your QR scanner is reading the code correctly, but you’re not using that scanned value to filter which ticket/record gets displayed. Without a filter, Bubble just defaults to showing the “first item” in the list.
How to fix it:
When your QR scanner reads a code, it stores that value temporarily (usually as the QR scanner element’s value or output). You need to connect that output to your data search as a constraint.
In your workflow or data source, find where you’re searching for tickets/check-in records and add a constraint like:
Unique ID is QR Scanner's value
This tells Bubble: “Don’t show me all records — show me only the one whose ID matches what was just scanned.”
Quick checklist:
- Confirm your QR codes actually encode the record’s Unique ID (or whatever field you’re matching on)
- Go to the data source of whatever element is displaying the result
- Add a constraint filtering by
[your ID field] = QR Code Scanner's value
- Make sure the display element is set to show a specific item (not “first item” from a list)
The key mental model is: scan → get value → use that value as a filter → display matching record.
I am very confused. I have done this scanner before but it seems this time it just doesnt want to work.
So these are the photo’s from the workflow and data source, if you could tell me what im doing wrong exactly.
and for user I have the following ;
Tickets → List Of Tickets
Events Registered → List Of Events
Volunteer Code → Text
What are you scanning? a QR code that is for each individual ticket?
a user’s QR Code (the qr code is the volunteer code/id)
Users registers for event → ticket is created → ticket is added to user → ticket is added to event.
So basically Event’s Ticket User QR Code.
Yeah but you need to scan the ticket no? How else would you pull up the ticket information?
You might need to just filter the tickets by the volunteer code/id then if thats whats being scanned so show their ticket
the volunteer code/id is being scanned.
when the code is scanned, it will show the user in a popup.
the scan is displaying a user. but its displaying the “first item”. so I need to fix that but I dont know how to fix it.
I tried filtering it but it doesnt let me unless its first item.
do you mind checking at the editor?
You need to add the :first item after the filtered so Parent group’s Event’s Tickets:filtered:first item
it doesnt let me filter a user. it always showing each item’s user volunteer code/id.
not sure what im exactly doing wrong.
I keep trying to make it to display the user that’s being scanned, but it doesnt let me. it always show each item’s.
I did what you said, but doesnt let me do what you said. in my workflow I have to add more data to it, since it has to be yes/no. but even when I of filtered:first item, still doesnt work.
can I add a text field to tickets and then when the ticket is created, it automatically fills the text field in tickets data to volunteer code and then I can filter it with that text field?
At this point I am not sure what else I can do from here without seeing the editor. I am sorry for not being of more assistance.
Hi, @mrpsgamer8,
I think you are not using the QR code information and are using the parent group data instead. Please check this.
You can also DM me your editor link, and I will check what is missing.
done. sent you the editor link.