Can I add data in a field automatically when a dropdown option is selected?

Can I add data in a field automatically when a dropdown option is selected?

The dropdown is a lookup field that takes the information from another form, the form has the product name and price, I want that when selecting a product I get the price in another field