Search forms in Tabs - Yii2

Hi All,

New to Yii and using Yii2.

Love it but still learning. ;)

So my question may be obvious.

It is about multiple forms organized in Tabs in the same page.

All forms will be using the same search model.

Let’s imagine 2 tables in database

  • productCategory

  • product

with a relation 1 productCategory to many products

I would like to create for each productCategory a Tab which will contain a search form for the related products

How to do this in Yii2?

In advance thanks for any help.

-Charles