Show input fields based on selection field

Hello,

my objects got a selection field (e.g. “1”,“2”,“3”).
Based on this selection, additional attribute fields should be displayed.

Is this possible?

Thanks for help!
MadeP