# Creating the Friend Requests Function in Adalo

**URL:** <https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726>\
**Category:** Resources & Tutorials\
**Created:** [June 5, 2020, 3:47pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726 "2020-06-05T15:47:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pford](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/pford/32/4648_2.png) [@pford](https://forum.adalo.com/u/pford)\
**Post date:** [June 5, 2020, 3:47pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/1 "2020-06-05T15:47:45Z")

</div>

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/b/fbf6ed03d5800a861a6e28b970d5de0966ab92b8.jpeg "Friend Requests Function in Adalo: Part 1") ](https://www.youtube.com/watch?v=_fxvi3WbXSk)

---

<div class="post-metadata">

**Author:** ![pford](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/pford/32/4648_2.png) [@pford](https://forum.adalo.com/u/pford)\
**Post date:** [June 5, 2020, 4:29pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/2 "2020-06-05T16:29:14Z")

</div>

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/f/2fe5a279ae66c1d6e7d6e2fe5553ce3c45880293.jpeg "Friend Requests Function in Adalo: Part 2") ](https://www.youtube.com/watch?v=ag5jdSNmeyA)

---

<div class="post-metadata">

**Author:** ![pford](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/pford/32/4648_2.png) [@pford](https://forum.adalo.com/u/pford)\
**Post date:** [June 5, 2020, 4:29pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/3 "2020-06-05T16:29:32Z")

</div>

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/1/f12cc7394cac1e86a7f2f1db9fc2d029151d9ec2.jpeg "Friend Requests Function in Adalo: Part 3") ](https://www.youtube.com/watch?v=4TUTTwZD1Ug)

---

<div class="post-metadata">

**Author:** ![tjd\_15](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tjd_15/32/1268_2.png) [@tjd\_15](https://forum.adalo.com/u/tjd_15)\
**Post date:** [June 10, 2020, 3:20pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/4 "2020-06-10T15:20:33Z")

</div>

Hi @pford

Thanks for these vidoes (and the others ones on your channel). They’re really helpful.

I have a question about the 3rd Video - could you elaborate why you made the ‘cancel’ icon a list unlike the other icons? Would it have been possible to keep ‘cancel’ a simple button and add a ‘Delete’ Action for that specific ‘Request’?

Thanks!

---

<div class="post-metadata">

**Author:** ![pford](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/pford/32/4648_2.png) [@pford](https://forum.adalo.com/u/pford)\
**Post date:** [June 16, 2020, 12:39pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/5 "2020-06-16T12:39:00Z")

</div>

Good question. If you just simply try to add a button, you’ll find that there’s no way to specify which request you want to delete because there’s no request data available on that screen. The only way to access data (other than the global data of “Logged in user”) in Adalo is through lists.

---

<div class="post-metadata">

**Author:** ![tjd\_15](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tjd_15/32/1268_2.png) [@tjd\_15](https://forum.adalo.com/u/tjd_15)\
**Post date:** [June 16, 2020, 5:31pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/6 "2020-06-16T17:31:45Z")

</div>

Got it.

But I think its also reflecting the manner in which you implemented your UX right?

I mean - if you wanted to ‘accept’ the request on the same screen, you would’ve made the ‘Accept’ icon a list as well with the same filters. Alternatively, if you created an action to link to a new screen when a user clicks on ‘cancel’ icon, its going to be possible to implement the same user flow for ‘cancel’ as you did for ‘accept’ connection.

At least I think that what I’m thinking is right.

In any case, creating a list out of anything (including an icon) kind of boggles the mind but is incredibly useful trick you pointed out. My 2nd favorite to learn from your videos, after using a ‘blank screen’ with no transition. I use it a lot to update forms, force link to previous page instead of going back, prompting user to “auto-update” same page by clicking a button linking to a couple of blank screens.

We’re all learning a lot from your videos. Many thanks and keep them coming!

---

<div class="post-metadata">

**Author:** ![Shnate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/shnate/32/30276_2.png) [@Shnate](https://forum.adalo.com/u/Shnate)\
**Post date:** [June 16, 2021, 1:36am UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/7 "2021-06-16T01:36:11Z")

</div>

Hi Patrick, I’m not sure if this is a common issue, but for some reason something seems to go wrong when I send multiple friend requests… The three icons (add friend, pending, and delete) seem to jump between visibility when sending multiple friend requests. So for instance, I will send a friend request to friend 1, the icon will switch to the pending icon as expected, but when I send another friend request to friend 2, friend 1 icon switches back to the “friend request” icon and they seem to get jumbles. Is this as issue with the code?

---

<div class="post-metadata">

**Author:** ![schalk](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@schalk](https://forum.adalo.com/u/schalk)\
**Post date:** [June 16, 2021, 7:14pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/8 "2021-06-16T19:14:15Z")

</div>

Also happening with me

---

<div class="post-metadata">

**Author:** ![nachbsas](https://avatars.discourse-cdn.com/v4/letter/n/e99b99/32.png) [@nachbsas](https://forum.adalo.com/u/nachbsas)\
**Post date:** [November 4, 2021, 3:08pm UTC](https://forum.adalo.com/t/creating-the-friend-requests-function-in-adalo/1726/9 "2021-11-04T15:08:00Z")

</div>

Hi Patrick, I followed your request and follow-up tutorial step by step. But the “sync” button doesn’t work for me, I don’t use an icon instead I made a “pending” button (pendiente). When I select “follow” (seguir), the “follow” button disappears and sends the request to the other user, who I also verified that it reaches him. But the “sync / pending” button doesn’t appear. And finally, when a request that reaches the user is eliminated, the “follow” button does not appear again available. Could you help me?

I am sending you this video showing you the configuration of all the buttons.

https://player.vimeo.com/video/642347736?h=3d76651786&app_id=122963

can you detect what i’m doing wrong?

Thanks!!

Best Regards
