# Fieldset parameter is retrieved but is null

**URL:** https://discourse.laminas.dev/t/fieldset-parameter-is-retrieved-but-is-null/2594
**Category:** Components & MVC
**Tags:** laminas-form
**Created:** [November 12, 2021, 6:14pm UTC](https://discourse.laminas.dev/t/fieldset-parameter-is-retrieved-but-is-null/2594 "2021-11-12T18:14:10Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![ebuddy](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/ebuddy/32/1536_2.png) [@ebuddy](https://discourse.laminas.dev/u/ebuddy)
#### Post date: [November 17, 2021, 8:28am UTC](https://discourse.laminas.dev/t/fieldset-parameter-is-retrieved-but-is-null/2594/12 "2021-11-17T08:28:58Z")

</div>

Thank you very much @froschdesign , This is what I used and I solved it partially but I’m facing to a new problem I posted 8m ago. See the link below please :

> [@Laminas fieldset unable to use custom select with where clause](https://discourse.laminas.dev/t/laminas-fieldset-unable-to-use-custom-select-with-where-clause/2601):
>
> I have a laminas form wich contains a fieldset. In this fieldset, I have a custom select Element wich is populate from database with a where clause depending on parameter passed to my fieldset. However, when I use my custom Select, I get this error message \<\<Argument 1 passed to Laminas\ServiceManager\ServiceManager::Laminas\ServiceManager{closure}() must be of the type string, object given, called in…\>\>. I post my code below : My fieldset here : \<?php /\*\* \* @module Commun \* @subp…

---

_[View the full topic](https://discourse.laminas.dev/t/fieldset-parameter-is-retrieved-but-is-null/2594)._
