I am trying to make this work.
I tried different versions of:
simple_form (1.5.1,1.5.2, 2.0.0.rc)
client_side_validations (3.1.4, 3.2.0.beta and using :git => 'git://github.com/bcardarella/client_side_validations.git').
client_side_validations-simple_form (both https://github.com/dockyard/client_side_validations-simple_form and https://github.com/seivan/client_side_validations-simple_form.
Client_side_validations seems to work for forms created with FormHelper, but does nothing for SimpleForm forms.
I know someone else before reported the issue with simple_form.
I was wondering if there currently exsist any working configuration that would enable me to use client_side_validations with simple_form in my project?
Yup - same issue here.
Bump.Has anyone got it working?
This combination works:
You will need to include the JS contained in this issue:
Thank you @tboyko , I will give it a shot today.
I'm using this configuration:
which is working without adding additionnal code.
I will give it a try as soon as we upgrade to rails 3.2.
SimpleForm 2.0.0 is only being supported in ClientSideValidations 3.2.0 which in turn only supports Rails 3.2.x.
I've just pushed support for SimpleForm 2.0.0 in the plug-in gem:
gem 'client_side_validations-simple_form', '2.0.0.beta.1'