Forum Academy Marketplace Showcase Pricing Features

Need help with badge system

I want to have a badge system where there is a generic badge and when users check off a certain amount of tasks, the generic badge changes to an actual badge for completion of the tasks. Does that make sense. I know it’s a long shot because it’s very specific, but can someone point me to a tutorial on this, if it even exists. Thank you for your time.

There are different ways of doing this. You need to ask a bit more specific question on where are you stuck. You won’t get tutorial specifically for this I suppose.

Anyway, to answer your question, one way to do it would be to create a field called “badge” for a user. The badge data type can be an option set which can hold all different values of badge. Now when a task is completed, you can update the badge level of corresponding user.

I created a tutorial for an app that uses badges, you can find the 3 videos that cover the topic of badges here:

Pt 1 - Yoga App Video #17 - Library Part 4, Badges Part 1 - YouTube
Pt 2 - Yoga App Video #18 - Library Part 4, Badges Part 2 - YouTube
Pt 3 - Yoga App Video #19 - Library Part 4, Badges Part 3 - YouTube

Perhaps this covers what you mean by badge system. If you find these helpful, give me a follow on IG @nocodeacademy it’d be much appreciated.


1 Like