...
When rendering, the Form component emits two notificationsevents: first, "prepareForRender", then "prepare". These allow the Form's container to set up any fields or properties that will be referenced in the form. For example, this is a good place to create a temporary entity object to be rendered, or to load an entity from a database to be edited.
...
First, the Form emits a "prepareForSubmit" notificationevent, then a "prepare" notificationevent. These allow the container to ensure that objects are set up and ready to receive information from the form submission.
...