#maxlength

Used by: password, textfield

Description: The maximum amount of characters to accept as input.

Values: A positive number.

Usage example (forum.module):

-----------------

#size

Used by: file, password, password_confirm, select, textfield

Description: Width of the textfield (in characters) or size of multiselect box (in lines).

Values: A positive number.

Usage example (comment.module):
----
两个属性还是有点区别的的,在form api reference 看到点击目录可以跳转到具体的条目, 以前都不知道, 确实是失误, 看来是活到老学到老呀。
maxlength: 可以输入到少个字符
size: 输入框的长度

最新文章

  1. Spring异步功能
  2. eclipse配置tomcat 和JRE环境
  3. codis配置
  4. Vi的使用
  5. Hadoop学习总结之二:HDFS读写过程解析
  6. lintcode :Invert Binary Tree 翻转二叉树
  7. cmd连接mysql连接:mysql-h主机地址-u用户名-p用户密码(注:u与root可以不用加)
  8. 玩转Win32开发(2):完整的开发流程
  9. Delphi中多线程下使用使用 UniDAC+MSSQL 需要注意的问题(连接前调用CoInitialize)
  10. CacheManager
  11. BrupSuite渗透测试笔记(九)
  12. linux技巧---为各应用创建快捷方式
  13. python使用ssdb的队列,用于替换canal+rabbitmq
  14. tchart2
  15. Docker_容器化jenkins
  16. Unity3D 导入Xcode 工程后。编译很慢
  17. C#反射基础理解1(转)
  18. .Net开发工程师笔试试题
  19. 507. Perfect Number 因数求和
  20. BEC listen and translation exercise 47

热门文章

  1. 重磅!flink-table-store 将作为独立数据湖项目重新加入 Apache
  2. Linus对Linux 6.3内核的合并解释不满
  3. linux上安装python3(yum方式)
  4. Ubuntu离线安装 MySQL 5.7
  5. loj2511
  6. Python实现XX短视频加密算法抓包分析及刷邀请
  7. csp201503-2(数字排序)
  8. linux系统过滤文件,并且通过时间对过滤的文件排序
  9. MS14-064/CVE-2014-6332漏洞复现(OLE远程代码执行漏洞、IE浏览器漏洞)
  10. 青少年CTF-Hanser!![wp]