Rails 4 client side validation

后端 未结 5 2160
挽巷
挽巷 2021-01-01 22:40

Since upgrading my site to Rails 4, the client-side-validations gem has stopped working for me. I have had a look at the various alternatives such as jquery-validation-rails

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-01 22:45

    I was able to use a fork of the original client_side_vlaidations that is very active at the moment. I am using the latest version of simple_form, rails 4.1.8, and this client_side_validations. Simple setup with basic config.

提交回复
热议问题