First of all great job on your api for embedding ES fields into other pages. However I'm having an issue with extra characters showing up in the custom field type: Multi Dropdown List:
1. I have created this field in Profile types ES
http://www.awesomescreenshot.com/image/415864/822eef5a1f9c570ce3e036e1464d9e44
2. Im using your API (as given by your developer doc) to embed this into another page:
3. However you will see in this screenshot that extra brackets and Quotes appear with this field type. This does not happen on other fields for example a text field. (Note: I'm good with the commas) but how do I remove the brackets and quotes.
http://www.awesomescreenshot.com/image/415870/7c200d024d9b02081b90b616fff904c7
Thanks!
1. I have created this field in Profile types ES
http://www.awesomescreenshot.com/image/415864/822eef5a1f9c570ce3e036e1464d9e44
2. Im using your API (as given by your developer doc) to embed this into another page:
<?php $userId = JFactory::getApplication()->input->getInt('user_id');
$key = 'ARTMEDIUM';
$my = FD::user($userId);
$fieldData = $my->getFieldData($key);
echo $fieldData;
?>
3. However you will see in this screenshot that extra brackets and Quotes appear with this field type. This does not happen on other fields for example a text field. (Note: I'm good with the commas) but how do I remove the brackets and quotes.
http://www.awesomescreenshot.com/image/415870/7c200d024d9b02081b90b616fff904c7
Thanks!