Custom script for RSFormPro
Budget: $30 – $250 USD
Hi,
I need a script what I can use to show the default value of an custom profile field of the logged-in user. I need to put the script in the default value-field of the formfield. Just like it is done with the standard profile fields, like:
//<code>
$user = JFactory::getUser();
$profile = JUserHelper::getProfile($user->id);
return $profile->profile['region'];
//</code>
Who can programm for me this code?
I need a script what I can use to show the default value of an custom profile field of the logged-in user. I need to put the script in the default value-field of the formfield. Just like it is done with the standard profile fields, like:
//<code>
$user = JFactory::getUser();
$profile = JUserHelper::getProfile($user->id);
return $profile->profile['region'];
//</code>
Who can programm for me this code?