#maxlength vs #size form api reference
2024-10-12 09:29:03
#maxlength
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: 输入框的长度
最新文章
- Spring异步功能
- eclipse配置tomcat 和JRE环境
- codis配置
- Vi的使用
- Hadoop学习总结之二:HDFS读写过程解析
- lintcode :Invert Binary Tree 翻转二叉树
- cmd连接mysql连接:mysql-h主机地址-u用户名-p用户密码(注:u与root可以不用加)
- 玩转Win32开发(2):完整的开发流程
- Delphi中多线程下使用使用 UniDAC+MSSQL 需要注意的问题(连接前调用CoInitialize)
- CacheManager
- BrupSuite渗透测试笔记(九)
- linux技巧---为各应用创建快捷方式
- python使用ssdb的队列,用于替换canal+rabbitmq
- tchart2
- Docker_容器化jenkins
- Unity3D 导入Xcode 工程后。编译很慢
- C#反射基础理解1(转)
- .Net开发工程师笔试试题
- 507. Perfect Number 因数求和
- BEC listen and translation exercise 47
热门文章
- 重磅!flink-table-store 将作为独立数据湖项目重新加入 Apache
- Linus对Linux 6.3内核的合并解释不满
- linux上安装python3(yum方式)
- Ubuntu离线安装 MySQL 5.7
- loj2511
- Python实现XX短视频加密算法抓包分析及刷邀请
- csp201503-2(数字排序)
- linux系统过滤文件,并且通过时间对过滤的文件排序
- MS14-064/CVE-2014-6332漏洞复现(OLE远程代码执行漏洞、IE浏览器漏洞)
- 青少年CTF-Hanser!![wp]