I'm creating a snippet with two dropdown menus:
Car brand selection (Audi, BMW, etc.)
Sentence selection (10 predefined sentences)
{formmenu: name=marke; default=Choose car; Audi; BMW;...}
{formmenu: name=satznr; default=Choose sentence; Sentence 1; Sentence 2;...}
{if: satznr == "Sentence 1"}I drive a {=marke}.{endif}
...
Expected Result:
Only the final sentence should appear (e.g. "I drive an Audi"), without:
The selection options ("Audi", "Sentence 1")
Technical comments
Empty lines
Already Tested (Without Success):
hidden=true / silent=true (unknown parameters)
{notext} blocks
CSS display:none
Two-snippet solution (works but is cumbersome)
Question:
Is there a clean way to achieve this in a single snippet?