How to set extrafiled select list be visible or not depending on the other one?

Hi

I create two select list , a and b .
There are two options in a ( a1 , a2 ), and there are two options in b ( b1 , b2 ), too .
But i can always see this two select list .
Are there anyone know how to set visible , so if i select a2 , then b will show out and i can choose b1 or b2 ?

Hello :slight_smile:

you must use a special java script that can permit to do this
in core/class/html.form.class.php, you can find some examples - search for texts “.hide” or “.show”

Good continuation