CodeIgniter Forums
请问验证表单时,如果输入错误,表单边框变成红色怎么做? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: 请问验证表单时,如果输入错误,表单边框变成红色怎么做? (/showthread.php?tid=11266)



请问验证表单时,如果输入错误,表单边框变成红色怎么做? - El Forum - 09-02-2008

[eluser]Unknown[/eluser]
请问验证表单时,如果输入错误,表单边框变成红色怎么做?

谢谢。


Edit by walesmd:
Quote:Will the verification form, if the input error, forms the border turns red how to do?
Translation provided by Google Translate, Chinese to English.

Note to all: English is the preferred language on these forums as it virtually guarantees a response within minutes. Otherwise, 99% of the community must rely on translators.


请问验证表单时,如果输入错误,表单边框变成红色怎么做? - El Forum - 09-02-2008

[eluser]sophistry[/eluser]
welcome to CI!

you can put any tags you want to in the validation error. see this page:

http://ellislab.com/codeigniter/user-guide/libraries/validation.html