Accepted Limits


This project is not covered by Drupal’s security advisory policy.

This module will allow you to set accepted limits for CCK number fields with custom validation messages.

An accepted limit is a range of numbers that is accepted for a particular value, but it's not a hard constraint. Say, for example, that a node has an Age field. The accepted age for creating the node could be between 13 and 25. If the user creates a node with an age of 12, the node will still be created, but a warning will be display notifying the user that 12 is not a generally accepted value.

The main difference between this and the "Allowed values" or the "Maximum/Minimum" is that even if the value is outside the accepted limits, it will still pass validation. Also, Accepted Limit allows you to set custom warnings for each field.

Credits

Victor Kareh (vkareh)


Accepted Limits项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。

项目分类:

周安装量: 
8
维护状态: 
最低限度维护
开发状态: 
积极开发中