Problem with Ampersand (&) in custom fields on record save and update

Hi Team,

we are facing issue with custom fields in SuiteCRM, in any custom text field (data type nvarchar) we enter data like jon & jon and after save in database it saved as jon & jon. The same data exported with reports as well.

do you have any solution to fix this issue.

Thanks & Regards,
Deepak Maske


It’s possible. You can decode using function html_entity_decode for this field.
I think that you can write function convertField($fieldValue, $fieldDef) in your module. And don’t forget call parent function.