How to create a dropdown on a form

Ive been trying to find a tutorial on this to no avail, i can only find stuff on navbar dropdowns. I have a form, and i have a button, i want the button to drop down the form after clicking it.

Does anyone know how to achieve this or a tutorial.