Symfony2 forms without an entity and with a conditional validator
How to apply Symfony2 form-level Callback constraints without an entity, validate field combinations, and add global form errors through ExecutionContextInterface.
Read the postPosts tagged symfony2 from Setfive.
29 posts
How to apply Symfony2 form-level Callback constraints without an entity, validate field combinations, and add global form errors through ExecutionContextInterface.
Read the postHow to configure Symfony to trust AWS ELB reverse proxies and headers so generated HTTPS URLs do not incorrectly include port 80.
Read the postWhy Symfony2's usort() warning can come from Doctrine lazy loading during comparisons, and how preloading related entities before sorting fixes it.
Read the postHow to generate grouped optgroup choices in a Symfony2 Entity form type by building a nested choices array through a custom Doctrine repository.
Read the postSymfony2 user impersonation can retain session attributes; learn how to use a security.switch_user event listener to remove state that should not carry over.
Read the post