Hi Ana,
Sounds like you're talking about visibility rules! We have an article specifically on this:
https://community.marketo.com/MarketoArticle?id=kA050000000LHX8CAO
You can find other articles on Forms 2.0 by clicking HELP ARTICLES on the left side of the Community, scrolling down to Deep Dives, and selecting Demand Generation > Forms.