Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-05-29 19:35:10

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

Value of Custom field on StartChat Form

Hi,

I created a custom field on StartChat Form:

1590780559_lhc_custom_fields.png

Now I´m trying to use this collected data on a Rest API call, that I configured like this:

1590780795_lhc_rest_api_custom_var.png

But it´s not working.

Did I forget something?

Offline

#2 2020-05-29 20:06:36

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

Re: Value of Custom field on StartChat Form

You again did incorrectly. Read again documentation because it covers your scenario... and i already respinded to similar issue which was written by you i ques...

Offline

#3 2020-05-29 20:15:20

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

Re: Value of Custom field on StartChat Form

https://doc.livehelperchat.com/docs/bot/rest-api/ {{lhc.add.<identifier>}} and identifier should be a field “Field identifie” value just put pwd there. So in rest api {{lhc.add.pwd}} and field identifier in custom fieds should be just pwd

Offline

#4 2020-05-29 22:10:10

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

Re: Value of Custom field on StartChat Form

Thank you very much. Now it worked!  big_smile  big_smile

I read the docs, but I couldn´t understand that "additional variable key" refers to "custom fields". Thanks very much again!  wink

Offline

Board footer