Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
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
sorry, but this one is not supported at the moment.
Offline
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
Well,
Donation would speedup. I ques something like 25-50 would be sufficient.
It's up to you how much.
Offline
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
Hi,
Yes i got it. I will see what I can do for Monday or perhaps earlier.
Offline
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
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
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
Offline
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
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
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
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
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
Oh ok I see, but how do I make it show in the email sent when the form is sumitted?
Offline
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
Hi,
Added as another mail form template variable {identifier}
https://github.com/LiveHelperChat/liveh … 6be9f0fd2b
So just update and you will have it.
Offline
Great thanks, I will test it out and let you now if I have any issues.
Offline
I just need to wait for the update to appear on softaculous to test this
Offline
Hi
Thanks, I got this working
Offline