Depends On other field hidden status

HI:
Here is what I am trying to accomplish:

I have a Select fields:

  • sf1
  • sf2
  • sf3

sf2 have ‘depends on’ to be hidden when sf1 value is ‘a’

So, how can i make ‘depends on’ for sf3 to be hidden if sf2 is hidden

How can I go about doing this?

Make same condition for sf3 by sf1 equal to “a”. It will hide both sf2 and sf3. If sf1 value is “a” means, sf2 will.be showed same to sf3