Kdyby / FormsReplicator

Other
30 stars 58 forks source link

Conflict with validation conditions #4

Closed alesculek closed 11 years ago

alesculek commented 11 years ago

If somewhere in form is validation (->setRequired()) then adding of new child fails because of validation (even if you remove default netteForms.js -> html5's required is in effect) - so before adding form must be valid.

fprochazka commented 11 years ago

The button that is working with adding or removing containers must have ->setValidationScope(FALSE).

alesculek commented 11 years ago

Thank you. Now it works:).