Validation for dynamic fields