Closed alesculek closed 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.
The button that is working with adding or removing containers must have ->setValidationScope(FALSE).
->setValidationScope(FALSE)
Thank you. Now it works:).
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.