Solved ajax for custom field format  change