awesome_nested_fields icon indicating copy to clipboard operation
awesome_nested_fields copied to clipboard

ClientSideValidations

Open MohHeader opened this issue 12 years ago • 0 comments

Dears,

Is there a solution for integrating both awesome_nested_fields with Client_Side_Validations gem

I found this https://github.com/ryanb/nested_form/wiki/Integrating-with-client_side_validations put it is for : nested_form

any similar solution ?

Thank you.

EDIT : BTW : I need to validate :

class Parent< ActiveRecord::Base
  attr_accessible :children_attributes
  has_many :children, :dependent => :destroy
  validates_presence_of :children
  accepts_nested_attributes_for :children, :allow_destroy => true , :reject_if => lambda { |a| a[:name].blank? }
end

MohHeader avatar Feb 20 '13 00:02 MohHeader