Using states or conditional fields
Hello! What would the function text look like, at least as an example? Let's say there is a field called field_category in the content - this is a taxonomy term. In this term, the vocabulary contains fields:
- Leisure
-- Restaurant
-- Cafe
- Beauty
-- Beauty salon
-- SPA
For instance, when selecting Leisure--Restaurant, a field for Number of halls (field_zal) appears, and when selecting Beauty--Beauty salon, a field for Type of services (field_usluga) appears.
However, I want the position of the fields to be set in the content type (this is also possible). Another nuance is that I am using Multistep Nodeform for adding content; will it interfere with the dependencies?
Or should I still use Conditional Fields?
I just read somewhere that in Drupal 7 it's better to use #states, while conditional fields seem to be not fully developed.
The only thing I've noticed is that hierarchical select does not work correctly with Conditional Fields.
What I don't like about Multistep is that editing the created content also needs to be done step by step. Is it possible to make editing through tabs?
P.S. I apologize for the huge number of questions; as a beginner, I'm just confused about this.
In general, what would be the optimal solution for creating dependent fields, selecting categories in 2 fields, step-by-step content addition, and editing content through tabs (Contacts, Additional, Photos, etc.)?