I am trying to make dependent cascading comboboxes.

If the entry of the first combobox is a certain value it will eliminate all the choices of the second combobox except one, if the choice of the first combobox is a different value then all options are available for the second box. For instance:

Combobox1(Truck/Van/electric car)
-Selection=hybrid

Combobox2(gas,diesel, electric)
-options shown=electric

Combobox1(Truck/Van/electric car)
-Selection=truck

Combobox2(gas,diesel, electric)
-options shown=gas and diesel


Appreciate the help ahead of time