# Save the e-mail of user after switch to on

**URL:** <https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893>\
**Category:** Ask for Help\
**Created:** [October 7, 2020, 8:40pm UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893 "2020-10-07T20:40:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [October 7, 2020, 8:40pm UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/1 "2020-10-07T20:40:52Z")

</div>

my app, people add a record and another one can switch to on the object.  
I already save as owner of row, when user add a record, but I’d like save the e-mail who switch to on in order to know who helped the user who posted the request.

Tkx in advanced,

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [October 7, 2020, 8:42pm UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/2 "2020-10-07T20:42:44Z")

</div>

Is this done through a form or edit action? If it is, you can record the special value of current user’s email to write to a column to show who last edited the row.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [October 7, 2020, 8:54pm UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/3 "2020-10-07T20:54:19Z")

</div>

thx shchc for prompt reply. I guess I’m not advanced as u. at a glance I didnt understando what u wrote but I’ m gonna tried. could give me a second level of tips? few steps to follow or a url to read?

I’ll appreciate.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [October 7, 2020, 10:15pm UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/4 "2020-10-07T22:15:57Z")

</div>

Each of row in your sheet can be edited if enable the ability to edit it inside Glide. If you can get to that point, you can allow certain column values to be edited and then you can collect the current signed in user’s email address automatically using a special value field. You would just have to add a column to your spreadsheet to store this user’s email address in the same row as the one they’re editing.

If you post some screenshots, it may be easier to help with more specifics.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [October 8, 2020, 12:05am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/5 "2020-10-08T00:05:09Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/0650569bf1f8d7b2504844f20c11e7dfff7db087.png)  
so thx again shchc.  
the point is this record that u r seeing, another e-mail/user posted. I already save as owner of row.

my issue is that when another user turn the switch on, I´d like to save the e-mail that turn it.  
so in the record I will have 2 emails. one of the owner and other the user who turn the switch on.

this is what I dont know how to do it. btw in portuguese “Boleto Pago” is let´s say, bank slip paid. sth like that.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [October 8, 2020, 12:09am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/6 "2020-10-08T00:09:06Z")

</div>

All good. On this page, allow it to be edited. This switch needs to be captured in the Edit function if you want to capture the user who switches it on.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [October 8, 2020, 12:41am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/7 "2020-10-08T00:41:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/7/7013c1f813734084e0584bf9e8fff0c1cd7ea74e.png)  
when u say “This switch needs to be captured in the Edit function” where I set this. Because user can turn it on or off, but I don’t know how to save your e-mail.

---

<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:** [October 8, 2020, 1:33am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/8 "2020-10-08T01:33:24Z")

</div>

[https://docs.glideapps.com/all/guides/quick-starts/intermediate-techniques/adding-editing-and-deleting](https://docs.glideapps.com/all/guides/quick-starts/intermediate-techniques/adding-editing-and-deleting)

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [October 8, 2020, 1:55am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/9 "2020-10-08T01:55:03Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/f6e87c19169820dab2c68c3f42ea955c20ad5975.png)  
I’m gonna try it! I added a special column like this.

The label in portuguese is EmailWhoPaid

---

<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:** [October 8, 2020, 2:28am UTC](https://community.glideapps.com/t/save-the-e-mail-of-user-after-switch-to-on/16893/10 "2020-10-08T02:28:53Z")

</div>

Short answer is, you cannot fill two values off of one switch action. As @kyleheney said, and what the glide documentation states, you can only obtain the the user’s email while in edit, add, or form mode. In those modes, you have access to Special Value columns which will also write the signed in user email to the sheet after you click the submit button. What you are trying to do with a switch on a details view screen is not possible at this time. It will only write the true or false value to the sheet. It will not also write the user’s email.

> **[User's email address](https://docs.glideapps.com/all/reference/security-and-per-user-data/special-values/users-email-address)**
>
> Submit the users email address
