Fixed issues with custom fields

[MEDIUM] Custom field validation was not working
[LOW] Fixed javascript error with radio custom fields
[LOW] Fixed display issue with radio custom fields