Go to any module and create new record.
Keep the mandatory fields blank and click on save button.
Validation message should display like "Invalid data in field: field name".
Displays validation message like "Invalid field: Field name".
PHP Built On Windows NT 6.2 build 9200
Database Version 5.6.12-log
Database Collation utf8_general_ci
PHP Version 5.4.12
Web Server Apache/2.4.4 (Win64) PHP/5.4.12
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.3.7-dev Development [ Ember ] 01-October-2014 02:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0
Field is not invalid but the data which are in/not in the field is invalid.
@rcheesley
If you say for example
Invalid Field: Address
Then is that clearer and does that cover all situations that you described
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4772.
Sorry what I meant to say that I believe Invalid Field: Address which is what is displayed does correctly convey the meaning of the message in both the scenarios you describe Ruth.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4772.
Labels |
Added:
?
|
I think it's OK as is.
No incidence at all on other languages than en-GB
example in French:
Champ invalide : Titre
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-18 09:55:46 |
Well you have no idea what it is in other languages unless you speak all of them ;)
And as for en-GB I've already stated that it is fine
No incidence obviously if the strings are correctly translated...
Labels |
Added:
?
|
If you say the data entered is invalid this does not make sense if nothing was actually submitted in the first place.
It would be perhaps better to have a check to see if it's empty or invalid, and then report 'no data was received for mandatory field ' (then a comma separated list if there are more than one) or 'data in field is invalid' if it is invalid.
It's maybe being a bit pedantic though, because technically entering nothing into a field which requires an entry is actually invalid data, in the same way as entering something in an unexpected format.
I wonder what the implications are for multilingual - does this make any difference in other languages?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4772.