You can create groups inside another group. For example:
[group a]
[group a1] .. [/group]
[group a2] .. [/group]
[/group]
Example:
Form
Form Code
Select Cat: [select select-cat include_blank "cat 1" "cat 2"]<br>
[group cat1]
You are now in cat one.<br>
Select Subcat: [select select-subcat-1 include_blank "subcat 1" "subcat 2"]<br>
[group subcat1-1]
You are now in sub cat one.<br>
[text text1-1]
[/group]
[group subcat1-2]
You are now in sub cat two.<br>
[text text1-2]
[/group]
[/group]
[group cat2]
You are now in cat 2
Select Subcat: [select select-subcat-2 include_blank "subcat 1" "subcat 2"]<br>
[group subcat2-1]
You are now in sub cat one.<br>
[text text2-1]
[/group]
[group subcat2-2]
You are now in sub cat two.<br>
[text text2-2]
[/group]
[/group]
[submit "submit"]
Conditional Fields (Text)
show [subcat2-2] if [select-subcat-2] equals "subcat 2"
show [subcat2-1] if [select-subcat-2] equals "subcat 1"
show [subcat1-2] if [select-subcat-1] equals "subcat 2"
show [subcat1-1] if [select-subcat-1] equals "subcat 1"
show [cat2] if [select-cat] equals "cat 2"
show [cat1] if [select-cat] equals "cat 1"