Add syntax check to validate value