A free and open-source book on ZF3 for beginners

11.4. Summary

In this chapter, we have discussed some advanced form usage capabilities.

Zend Framework 3 provides two classes whose purpose is enhancing form security: Captcha and Csrf. A CAPTCHA is a type of challenge-response test used to determine whether or not the user is a human. CAPTCHA elements are used on form to prevent form submission by a malicious automated process (a robot). The latter element, Csrf, is used for Cross-Site Request Forgery (abbreviated as CSRF) hacker attack prevention.

We have also learned of how to implement a multi-step forms with the help of sessions.