require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php');
$user=new JsnUser();
echo('<input type="text" value="'.$user->biz_org_code.'" />');
If I want to call that User's biz_org code on another form (from db I assume), what would that code look like? For example, when a User is logged in and making a purchase, I would like to call that User's code (from db I'm assuming) to be auto populated in text field during checkout.
.tab-content{overflow:visible;}
if(isset($_POST['inp']) && $item->alias=='biz_org_code') $defaultvalue='default="'.$_POST['inp'].'"';
//if($field->params->get('text_readonly','')==1 && JFactory::getApplication()->isSite()) return;
//if($field->params->get('text_readonly','')==2 && JRequest::getVar('view')!='registration.register' && JRequest::getVar('view')!='register' && JFactory::getApplication()->isSite()) return;
Tabs are not showing on Registration (shows vertical form) and Member Profile doesn't look correct either.If you have enabled "View the form in tabs" the problem may be a Javascript error on your site.To check this we need to see your site, but when I go on your link I get a blank page.
Need to POST a PHP variable as a default value in one of the text fields on Registration Form. Needs to save to User Profile/Database.Sorry but this is not possible, this require "eval" PHP function, this function is not secure and blocked from many provider. This function is used to parsing php code from a string value. if you explain to me exactly what you want to do (even via PM), we can propose a change to our code to make it
Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.
Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.
Before you post: read the documentation and search the forums for an answer to your question.
When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).
Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.
Language: only English
Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.
Our site uses non fat, delicious cookies which help us improve your user experience. You can read more about it in our Legal page.