How to implement a simple Registration Form with MongoDB¶ Some forms have extra fields whose values don’t need to be stored in the database. In this example, we’ll create a registration form with some extra fields and (like a “terms accepted” checkbox field) and embed the form that actually stores the account information. We’ll use MongoDB for storing the data. // src/Acme/AccountBundle/Document/U
![How to implement a simple Registration Form with MongoDB (Doctrine MongoDB Bundle Docs)](https://cdn-ak-scissors.b.st-hatena.com/image/square/b007104dc5bb21837ce4e44ef1bc12ae2175bac1/height=288;version=1;width=512/https%3A%2F%2Fsymfony.com%2Fimages%2Fopengraph%2Fsymfony.png)