Zend\Form - Quick start
12 important questions on Zend\Form - Quick start
What are the 3 steps to validate forms?
2. Inject the form data
3. Validate the form (and retrieve messages if any)
Does Form::getData() return filtered or unfiltered data?
What is the purpose of the
Zend\InputFilter\InputFilterProviderInterface
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
When will a form return an object on getData() call?
How can you force a form to return an array on getData() call?
What is the interface all hydrators have implemented?
Which form view helper shortens your form view code?
Which method defines the validated fields of a form?
What constant as parameter of setValidationGroup sets validation on all input fields?
What are the 15 available form annotations in ZF2?
2. Attributes
3. ComposedObject
4. ErrorMessage
5. Exclude
6. Filter
7. Flags
8. Hydrator
9. InputFilter
10. Input
11. Name
12. Options
13. Required
14. Type
15. Validator
Are Zend\Form elements by default required?
What method of AnnotationBuilder builds the form?
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)