Conditional Validations in APEX