Extra options when menu item is chosen

{formmenu: default=Choice A; Choice B; Choice C; Choice D; name=choice}

{if: choice == "Choice A"; trim=right}
{note}Internal note for the user regarding Choice A

{endnote: trim=right}
{formmenu: default=Choice A1; Choice A2; Choice A3; Choice A4; name=submenuA}

{elseif: choice == "Choice B"; trim=right}
{note}Internal note for the user regarding Choice B

{endnote: trim=right}
{formmenu: default=Choice B1; Choice B2; Choice B3; Choice B4; name=submenuB}

{elseif: choice == "Choice C"; trim=right}
{note}Internal note for the user regarding Choice C

{endnote: trim=right}
{formmenu: default=Choice C1; Choice C2; Choice C3; Choice C4; name=submenuC}

{elseif: choice == "Choice D"; trim=right}
{note}Internal note for the user regarding Choice D

{endnote: trim=right}
{formmenu: default=Choice D1; Choice D2; Choice D3; Choice D4; name=submenuD}

{endif}