Custom script for RSFormPro

Job ID: 35223984

Budget: €250 – €750 EUR

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?