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

You are not logged in.

Announcement

#1 2015-01-20 01:11:24

a84
Member
Registered: 2014-11-27
Posts: 14

form results in email rather tha spreadsheet or within lhc

Hi

I really appreciate the changes you made in my last message

https://forum.livehelperchat.com/viewtopic.php?id=835

Would it also be possible to have the "collected information" included in the email body?

Thanks so much

Offline

#2 2015-01-20 05:53:48

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

Re: form results in email rather tha spreadsheet or within lhc

sorry, but this one is not supported at the moment.

Offline

#3 2015-01-20 11:44:14

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Hi

Is it possible to add it to the next release?

I am happy to make a donation to speed this up due to your very well made application.

Offline

#4 2015-01-20 13:42:20

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

Re: form results in email rather tha spreadsheet or within lhc

Well,

Donation would speedup. I ques something like 25-50 would be sufficient.

It's up to you how much.

Offline

#5 2015-01-20 13:46:24

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Hi

I have just made a paypal donation trans id 7CJ409091E386331F

It would be very useful for us to be able to see the question fields and the page from which the form was submitted within the email body and to have the reply email be the customers email address.

Much appreciated

Offline

#6 2015-01-20 13:47:23

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

Re: form results in email rather tha spreadsheet or within lhc

Hi,

Yes i got it. I will see what I can do for Monday or perhaps earlier.

Offline

#7 2015-01-20 13:56:42

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Hi

Thanks very much

I also found another problematic bug with the textarea option in the forms

I have this set

[[input||type=textarea||name=Message||name_literal=Message||placeholder=Message||value=]]

But the placeholder "message" is not show so it is confusing to customers what the field is for.

Type text is working fine, form example

[[input||type=text||name=Name||name_literal=Name||placeholder=Your name||required=required||value=]]

"You name" shows and clears when the field is clicked.

Offline

#8 2015-01-20 20:16:42

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

Re: form results in email rather tha spreadsheet or within lhc

Hi,

I have filled this issue there
https://github.com/LiveHelperChat/liveh … issues/604

Then this issue will be closed you will know it's done. You can just subscribe to it.

Offline

#9 2015-01-21 19:48:36

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

Re: form results in email rather tha spreadsheet or within lhc

Implemented

https://github.com/LiveHelperChat/liveh … issues/604

For email user main=true parameter. So system will know it's the main e-mail where reply to should be set.
[[input||type=email||name=Email||name_literal=Email||main=true]]

Placeholder will work now for textarea

For e-mail template use {content} variable it will be replaced with list of collected data.

Just update to latest version. Also you can replace just modified files.

Goodluck and let me know does it worked smile

Offline

#10 2015-01-28 10:40:20

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

HI remdex

thanks, I am now testing this with the new version of lhc. but I am unclear how how to implement "e-mail template use {content} variable"?

Can you please explain in little more detail.

Thank you.

Offline

#11 2015-01-28 10:41:29

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

Re: form results in email rather tha spreadsheet or within lhc

Just in-email templates find this form template. And in content add

{content} text in mail itself it will be replaces with actual data.

Offline

#12 2015-01-28 10:44:01

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

oh I see, I was not aware of the email template section, makes sense now, thanks very much

I think everything is working as desired now,

Thanks again

Offline

#13 2015-01-28 11:27:29

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

The last thing I am trying to get to working is to show the url of the page onwhich the for was submitted.

I have read this "Option to pass identifier to forms module (E.g ?identifier=node_15). It can be either some specific value or if not provided it will be referer URL."

But how do you get the identifier values for the page url if the identifier is blank to show in the email sent when the form is submitted?

Offline

#14 2015-01-28 11:32:07

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

Re: form results in email rather tha spreadsheet or within lhc

Let say if you go there

https://demo.livehelperchat.com/site_ad … /embedcode

And enter something in identifier field. You will see that embed code is generated with identifier part.

[== Undefined ==]
<!-- Place this tag where you want the Live Helper Form module to render. -->
<div id="lhc_form_embed_container" ></div>

<!-- Place this tag after the Live Helper Form module tag. -->
<script type="text/javascript">
var LHCFormOptions = {};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = '//demo.livehelperchat.com/form/embed/1?identifier=somei';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

In this case identifier is "somei"
So basically it's your site responsibility to generate identifier.

Offline

#15 2015-01-28 12:08:50

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Oh ok I see, but how do I make it show in the email sent when the form is sumitted?

Offline

#16 2015-01-28 13:08:50

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

Re: form results in email rather tha spreadsheet or within lhc

That's a good question, because seems i forgot this one in mail template. I let you know then i add this to mail template.

Offline

#17 2015-01-28 16:23:10

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

Re: form results in email rather tha spreadsheet or within lhc

Hi,

Added as another mail form template variable {identifier}
https://github.com/LiveHelperChat/liveh … 6be9f0fd2b

So just update and you will have it.

Offline

#18 2015-01-30 14:39:22

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Great thanks, I will test it out and let you now if I have any issues.

Offline

#19 2015-02-02 12:42:07

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

I just need to wait for the update to appear on softaculous to test this

Offline

#20 2015-02-16 13:51:53

a84
Member
Registered: 2014-11-27
Posts: 14

Re: form results in email rather tha spreadsheet or within lhc

Hi

Thanks, I got this working

Offline

Board footer