# Form Dependencies - Best practice?

**URL:** <https://discourse.laminas.dev/t/form-dependencies-best-practice/3824>\
**Category:** Components & MVC\
**Tags:** laminas-form\
**Created:** [December 20, 2024, 10:44am UTC](https://discourse.laminas.dev/t/form-dependencies-best-practice/3824 "2024-12-20T10:44:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [December 20, 2024, 4:14pm UTC](https://discourse.laminas.dev/t/form-dependencies-best-practice/3824/2 "2024-12-20T16:14:31Z")

</div>

Here is an example:

> [@MVC with one to many relationship](https://discourse.laminas.dev/t/mvc-with-one-to-many-relationship/3132/6):
>
> The [Getting Started tutorial](https://docs.laminas.dev/tutorials/getting-started/overview/) uses laminas-db but it can be replaced with any other packages you like or with which you have experience. Like @ALTAMASH80, I do not use laminas-db because it does not support relationships out of the box. The dropdown list can be handled with a custom element based on Laminas\Form\Select. namespace ExampleModule\Form; class ExampleSelectElement extends Laminas\Form\Element\Select implements Laminas\Db\Adapter\AdapterAwareInterface { use Laminas\Db\Ada…

---

_[View the full topic](https://discourse.laminas.dev/t/form-dependencies-best-practice/3824)._
