[英]Alternatives to Rails' client_side_validations?
您可以使用Judge Rails Gem: https : //github.com/joecorcoran/judge,並且有一些插件可用於FormBuilder SimpleForm https://github.com/joecorcoran/judge-simple_form
parsley.js真的很不錯 - http://parsleyjs.org/它已被制作成導軌的寶石 - https://github.com/mekishizufu/parsley-rails
您還可以使用jQuery.validation 。 雖然我認為歐芹看起來好一點。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.