Requested button

How to implement a “Requested” button?
With the N to N relation I was able to implement the follow and unfollow buttons, but I understand that I would have to have a boolean field (true/false), which I would not be able to do in an N to N relation.

Hi @Diogo,

Welcome to the forum!

Not sure if I understand your question. Could you please clarify, what do you mean by “Requested” button? Which process would you like to implement?

Best,
Victor

Hi @Victor!
I would like to implement the buttons similarly to Instagram.
4 status: “follow”, “requested”, “following”, “unfollow”.

When requesting a person to follow, the status goes to “requested”, only after they accept the invitation does the status change, going to the following status and enabling the unfollow function.

Is it possible with Adalo?

Hi @Diogo,

Yes, this is possible.
I’ve created a video example for you: Adalo Mini-app series: Followers, Influencers and follow requests - using separate collection - YouTube (it is still uploading). You can enhance this example to include blocked, declined, etc. requests.

Best regards, Victor.

Excelente Victor! Thanks!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.