Hi all,
I have a site im working on and I have it auto fill the form fields. I am using Breezing Forms and Community Builder. Im able to auto fill the Name and E-Mail in Breezing Forms with the code below.
Code:
<?php return JFactory::getUser()->get('name'); ?>
Code:
<?php return JFactory::getUser()->get('email'); ?>
However, when it comes to auto filling a field that is pulling from CB and filling Breezing Forms Im having no luck.
I have tried all of the below code with none of it working. Some of it returns a error and some of it returns a blank page.
Code:
<?php return JFactory::getUser()->get('name'); ?>
<?php return user_info()->get('cb_companyname'); ?>
<?php return $companyname = $user_info->cb_companyname; ?>
<?php return JFactory::companyname = $user_info->cb_companyname; ?>
<?php return JFactory::user_info->cb_companyname; ?>
<?php return JFactory::companyname->cb_companyname; ?>
<?php return JFactory::companyname()->get('cb_companyname'); ?>
<?php return JFactory::getUser()->get('cb_companyname'); ?>
Thank you all very much for all you do! Normally I am able to debug these on my own but im not having any luck this time.
Joshua