added support for has many items in a form