Context sensitive select list

I have a simple form with 2 select fields both populated via php connector.
I need to load the second field select list based on the selection made in the first field.
Is this possible?

Hi

you need to add onchange event, “listen” 1st select, and load opts for 2nd select manualy
form have getSelect() and getOptions() methods