发布了Field validation 模块的beta4 版

项目地址: http://drupal.org/project/field_validation
现在支持的validator有:
•Regular expression
•Numeric values (optionally specify min and / or max value)
•Minimum length
•Maximum length
•Minimum number of words
•Maximum number of words
•Plain text (disallow tags)
•Must be empty (Anti-Spam: Hide with CSS)
•Words blacklist
•Minimum number of selections required
•Maximum number of selections allowed
•Exact number of selections required
•Unique
•Match another field(or entity property)
•Specific value(s)
•Require at least one of several fields
•Equal values on multiple fields
•Unique values on multiple fields
•Custom PHP function
同时还支持“column defined in the hook_field_schema()”的自定义,而不是原来默认的“value”

评论

Aw, this was a very nice

Aw, this was a very nice post. In idea I want to put in writing like this moreover – taking time and actual effort to make a very good article… however what can I say… I procrastinate alot and on no account seem to get one thing done. 3D TV unsisterly How To Build A Chicken Coop insignificance

这个验证区域,如今写的都是英文,看不懂的啊,看样子要汉化啊

这个验证区域,如今写的都是英文,看不懂的啊,看样子要汉化啊呵呵上海德邦物流