How can I make a dropdown base on what people answered in the previous dropdown?

For reference, if people answer A in dropdown1, then dropdown2 will show 12345 and if people answer B in dropdown1, then dropdown2 will show 6789. Is it possible?

https://www.wix.com/corvid/forum/community-discussion/dependent-drop-down-lists

See the Cascading Form to see how to automatically populate a form element with options based on a previous selection.