Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hi,
I read your guide on prefilling form fields, which was great.
https://livehelperchat.com/pre-filling- … -140a.html
Although Im still a little unsure on how to implement the php code from joomla which gets the userdata:
$user =& JFactory::getUser();
$user_name = $user->name;
$user_email = $user->email;
With the JS which autofills the fields:
LHCChatOptionsPage.attr_prefill = new Array();
LHCChatOptionsPage.attr_prefill.push({'name':'email','value':'***.com','hidden':true});
LHCChatOptionsPage.attr_prefill.push({'name':'username','value':'Username here'});
Any help would be much appreciated!
Offline
Hi, sorry to see there are no replies to this post.
Maybe in the future we can do better.
Live Helper Chat is an Open Source Project,
support on the Forum can be limited and not all time maybe is possibility to give the desired reply.
We will do the best for give an helpful reply asap (as soon as possible).
Wish you all the best,
thank you for your interest in the Live Helper Chat!
All Documentation are available here: https://livehelperchat.com/documentation-6c.html
Free Plug-in are available here: https://livehelperchat.com/free-plugins-19c.html
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline