RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: daya
BTW it will be nice to mention that better_errors works only with Rails >= 3.x
Hi Ryan,
Not sure how to make the client side validation work in a form that uses mixed model fields i.e. user & account model
\- form_for @user, :url => signup_path, :validate => true do |f| = f.label :email = f.text_field :email, :size => 30, :maxlength => 320, :class => 'textInput' = f.label "Account Name" = text_field_tag 'account[domain]', nil, :size => 20, :maxlength => 40, :class => 'textInput', "data-validate"=>true
Any ideas ?
BTW it will be nice to mention that better_errors works only with Rails >= 3.x
Hi Ryan,
Not sure how to make the client side validation work in a form that uses mixed model fields i.e. user & account model
Any ideas ?