Check for the content of input in UI
来源:互联网 发布:nginx 判断参数不为空 编辑:程序博客网 时间:2024/04/27 21:23
I think for any UI input field, we should do the following check:
1. whether empty string is allowed2. whether duplicate value is allowed3. whether special character is allowed, like: @, #, $, & etc.
So base on those requirements, here is something for UI
1. input value should be trimmed2. use some method like 'escape' to escape those speical characters3. it’s better to have some 'AJAX' check whether the value (always the name) is already existed
- Check for the content of input in UI
- Check the available of yum in Linux
- Get the content of an Iframe in Javascript – crossbrowser solution for both IE and Firefox
- the diary of homework of script check dir in linux
- Check for cyclic list (count the length of circle)
- 3.1 Placing UI Components in the Center of the Screen
- The key of special UI for the WoW
- Facebook面试题 check for subText in input text's subarray.
- Dubbo: Failed to check the status of the service . No provider available for the service
- How to collect TrustZone debug logs and check the meaning of error code in the logs
- check the version of openGL
- Check the difficulty of problems
- Check the difficulty of problems
- check the environment of anaconda
- Check the bits in linux
- How to get the content of the 'identity' section in web.config
- XML文件要有根标签(Extra content at the end of the document in file 错误
- the table of content-type
- CMM---项目策划过程的实施
- oracle常用资料
- 为firefox3改造暂不支持的扩展之 “雅虎收藏+”
- myeclipse6绿色版的制作
- 2008.6.21深圳穿越排牙山之旅
- Check for the content of input in UI
- Event 在kernal mode与user mode之间的通信
- 冬天
- Delphi语法基础 - 循环语句
- 第二人生的源码分析(6)类CallSite的实现
- 毕业前的感慨
- FloatingPanel控件的显示与关闭
- 参加了一实习生面试,崩了!
- [原创]自己动手写 HTTP Server