Closed (fixed)
Project:
Validation API
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 17:42 UTC
Updated:
10 Aug 2008 at 22:54 UTC
You have error messages being on a per validator level. It would be nice if you could keep that, but then also allow the error message to be overridden each time a validator is applied to a field. That way if you are applying a phone number validator to several different fields on a form, instead of seeing the same error message twice, you could get error messages like:
Cell Phone is not a valid phone number
Home Phone is not a valid phone number
Comments
Comment #1
TapocoL commentedYou have this capability by using the %field in the message, it will substitute %field with the field's name. However, I do like the idea of allowing the message to be overwritten on a per field level. I will be implementing that.
Comment #2
TapocoL commentedLatest Rev makes messages able to be set differently foreach field now. Also, this turned the add field form into a two-step process.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.