Documentation around FormElementManager->get()
#92
Description
This issue has been moved from the zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7305
User: @claytondaley
Created On: 2015-03-10T15:31:30Z
Updated At: 2015-11-06T20:55:08Z
Body
I was using Custom Form elements in my application so I started to work through all the tips in the Advanced Form guide. Despite implementing all of these points, I was still getting an error. Thanks to a reference example, I found that I could resolve my errors with one additional change not documented in the guide:
You must also define the form (not just the custom elements) inside
form_elements
rather thanservice_manager
otherwiseinit()
is not run
If this is a requirement, it would be helpful to add it to the guide. If this should not be a requirement, I may need to submit a bug report.