Hello everybody.

I have a question and I searched on how to solve this problem, but I found something easy and similar to what I want, it would be the following:

I need a form where the user to select an option in a combobox form fields change.

selects option 1
Field 1, Field 2 and Field 3 are displayed to fill
selects option 2
Field 4, Field 5 and Field 6 appear to fill

And when submit identifies himself was filled fields of option 1 or option 2

Anyone know any tutorial or can point me what should I do?