How to set a custom format validation field