Zebra_Form 是一个 PHP 类用于简化表单的创建和数据验证的php表单类。
Zebra_Form v2.8 Changes:
fixed a bug where the attach_tip() JavaScript method was not working properly; thanks to Andrei Bodeanschi
previously, the placeholders were injected to the bottom of the main document rather than right after the parent element and thus generating issues like placeholder remaining visible when hiding the parent element's container; now the placeholders are injected in the DOM right next to the parent element;
fixed a bug where because of the fact that JavaScript and PHP treat new lines, accented characters and special characters differently (1 byte in JavaScript and 2 or 3 bytes in PHP), server-side validation of a maximum allowed length would sometimes fail if a textarea's value would contain new lines, although client-side validation was ok; thanks to Andrei Bodeanski for spotting it;
fixed a bug where setting the "readonly_element" property to FALSE on a date element had no effect; thanks to bastian
fixed a bug where a date element's "get_date" method was triggering a warning if the the element was not required and no date was selected; thanks to bastian
the "length" rule now accepts a 5th argument instructing the script to show a counter of remaining characters;
added a new method available for text, textarea and password controls, called change_case which can be used to instruct the script to force all letters typed by the user, to either uppercase or lowercase, in real-time;
added documentation on how to access the Zebra_Form object in JavaScript, with examples;
added documentation on how to use AJAX in custom validations (scroll down to the "custom" rule and keep reading);
tweaked the default CSS style of the date control which was a bit too short;
updated Zebra_DatePicker to version 1.2
截图仅供参考,请以演示为准!
本文由(小晴)整理上传发布,如转载请注明出处:http://www.yuanmamei.com/article/111026;
本站发布的内容若侵犯到您的权益,请进行举报/投诉,我们将及时处理!
==========================================================================
本站大部分下载资源已通过测试可用无加密,但不保证其功能强大以及安全性,请下载后自行测试。
本站资源仅供学习和交流使用,版权归资源原作者所有,请在下载后24小时之内自觉删除。
若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。
加入收藏 暂无演示 下载资源 0 0 374