Originally Posted by Soptareanu @Alex
Yes, I need this form_id, because i use it to fillter the list. In the URL i have a param order=<Value>. That value is coresponding with form_id, and show me a list of items with form_id = order. If I update the item it works very fine, but if i want to create a new one, i want that the form_id remain the same based on url param. I used \XLite\Core\Request::getInstance()->order;
I see. Thanks for explanation.
The problem looks to be that 'order' param is not in POST request when you submit the ItemsList. It is in GET parameters when you open the page with ItemsList, but when the ItemsList's form is submitted, it is not there.
To add 'order' as a hidden input to your ItemsList's form, create the following method in your ItemsList class:
protected function getFormParams()
return parent::getFormParams() + [
'order' => \XLite\Core\Request::getInstance()->order
Please, let me know if it helps.