# Help with Auto Registering Classes

**URL:** <https://community.glideapps.com/t/help-with-auto-registering-classes/76170>\
**Category:** Ask for Help\
**Created:** [September 5, 2024, 6:21pm UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170 "2024-09-05T18:21:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![htc031513](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@htc031513](https://community.glideapps.com/u/htc031513)\
**Post date:** [September 5, 2024, 6:21pm UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/1 "2024-09-05T18:21:08Z")

</div>

Hello,

I’m working on a scenario in Glideapps where I need to automatically mark the **isRegistered** boolean as **true** for both “Class 1 - Group 1 Part 1” and “Class 1 - Group 1 Part 2” when a user signs up for either one. These classes are stored in separate rows.

Currently, I can mark them as isRegistered = true one at a time using a button action, but I’m looking for a way to automate this so that when a user registers for one session, the **isRegistered** boolean for the other session is automatically set to **true**.

Would anyone have suggestions on how I can automate marking the **isRegistered** boolean for both classes?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 5, 2024, 6:34pm UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/2 "2024-09-05T18:34:21Z")

</div>

Assuming Class1-Group1 is the specific grouping that goes together, you can create a self relation or query linking the Class and Group to themselves. Then create a Rollup counting the number of True values in the isRegistered column through that relation or query. Then create an IF column that checks if the Rollup is greater than 0 and return ‘true’ if it is. The IF column should show as true, for everything in the same Class/Group if isRegistered is checked for just one of them.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 5, 2024, 11:49pm UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/3 "2024-09-05T23:49:21Z")

</div>

Is that isRegistered column a user-specific one, placed in the Class/Group tables?

---

<div class="post-metadata">

**Author:** ![htc031513](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@htc031513](https://community.glideapps.com/u/htc031513)\
**Post date:** [September 6, 2024, 12:20am UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/4 "2024-09-06T00:20:46Z")

</div>

@ThinhDinh - Yup, it is user specific.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 6, 2024, 12:34am UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/5 "2024-09-06T00:34:38Z")

</div>

Is it always just 2 parts at a time, or do you have cases where you would have more than 2 parts?

---

<div class="post-metadata">

**Author:** ![htc031513](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@htc031513](https://community.glideapps.com/u/htc031513)\
**Post date:** [September 6, 2024, 12:47am UTC](https://community.glideapps.com/t/help-with-auto-registering-classes/76170/6 "2024-09-06T00:47:29Z")

</div>

@ThinhDinh - Hi, It’s always 2 parts at a time
