You recognize a parent from school pickup, and now you’re standing next to each other at the grocery store. Start with what you remember: “Hey, we met at the book fair. You helped my son find that dinosaur book. Could you remind me of your name?” Remembering the moment gives you both something to talk about after they answer.
If you didn’t hear the name clearly, ask right then: “Could you say it once more? I want to get it right.” Use it naturally when you say goodbye.
At a volunteer event, you can also ask the organizer for your own name tag and invite others to grab one. For more wording, search “how to ask someone’s name again.”