Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2020-06-23 19:41:22

Mairlo Luz
Member
Registered: 2020-04-06
Posts: 28

Erasing custom variables after login

Hi,

I created 2 custom fields on start chat form:

1592941097_lhc_custom_fields_on_start_form.jpg

After user logged in, it´s password is showing on chat page, like you can see:

1592941106_lhc_custom_data_chat.jpg

How can I erase these variables?

Offline

#2 2020-06-23 20:17:55

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,063
Website

Re: Erasing custom variables after login

Just delete them from chat object additinal_data or chat_variables field. Can’t remember which one holds them. It’s just json.

Offline

#3 2020-06-23 20:43:30

Mairlo Luz
Member
Registered: 2020-04-06
Posts: 28

Re: Erasing custom variables after login

How can I do this using a bot?

I tried to put a responde inside a trigger that changes a variable, but it didn´t work.

This is what I did:

1592944992_lhc_custom_data_erase_trigger.png

Offline

#4 2020-06-24 04:30:59

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,063
Website

Re: Erasing custom variables after login

Offline

#5 2020-06-24 17:58:15

Mairlo Luz
Member
Registered: 2020-04-06
Posts: 28

Re: Erasing custom variables after login

Worked!
Thank you!  big_smile

Offline

Board footer