Hi team,
In my app, you can register for many events. I succeeded in making sure you cannot register twice for the same event.
The next step is to allow to cancel your registration. The issue I am facing with the action I put in place is that you can remove your registration on the event but it removes all your event registrations.
Any ideas ?
any other details needed, please ask.
Thank you
Hi!
I think you can try single relation instead multiply relation.
And why you need the relation to pointing?
If I put single relation I think there is only one person who can register to the event, no ?
You can use multi relation to take a list of registered.
Then just add the action to list item to delete this item.
No need relation for dele action
I am sorry but I am not sure understanding beacaue I am not so expert.
Where I can use multy relation ? in event table ?
Where to put action to list item and how to do this ?
Thank you
Okay!
How you deciding that user is registered?
by clicking on a specific button.
Then the following action is running

Very good, you just need create tab and place on it list component and the source to it must be participation table.
If you need to user see just they registration, just filter the list by filtering option: row email is current user email.
Add an action on list element and just do deleting this row
I already have a participation table
and users can see the participants
Just to delete participant’s row isn’t it?
yes. But I cannot add an action directly to participation tab. It is only event

yes. Only for this event.
Every screen event, you get the participants for the event
If it is a list by relation from event to participations table
just add collection item action

and it will deleting (this item) just participation one row, not event.
I did something close to that. The problem is that all participations (all event) to the user who clic-on are deleted. Not for this specific event. Other users remain in the event
show me your setup like my
Don’t use relation in a deletion action
Just add a collection item action → delete this row
this is what I just create as you mention
but when I clic on name it appears that
I thnk I point out on the wrong tab.
Okay. I’ll record video.//
No need click on need to click three dot.
OK. Thanks. I very appreciate.
It seams I am not so fr because I have just succeeded as you mention but I can double check with your video.
It means also I have to remove unregister button.
Many thanks
1 Like
And don’t gorget to delete validation row in custom action
Tab-Алексей’s Project · Glide
https://www.vidline.com/share/V0YOHK9R6M/c856df5d439837b774c6f04833005bfe
1 Like