Trying to clear up space between form toggles

Working on developing an "education" section for healthcare documentation. My short cut for education starts with a drop down note that lets me select multiple common Education parts. It is then all connected and it looks clean with --> {=join(general ed, "\n --> ")} at the end.

I am now trying to create additional toggle fields for less common Education within the same form. when on selected, nothing shows up. When selected, it shows up on its own line on the form. However, I am having difficulty closing off the white space between selections. So if I choose option one, option two, option for, options seven, they are sporadically spaced out. I tried adding a nbsp between per a rec on one of the pages, it did not work.

How can I clear up space between toggle boxes so when options are selected, the space between the lines clears up (to look less choppy)?

Hey @NDa, How abut this:

{formtoggle: name=a}A
{endformtoggle}{note}
{endnote}{formtoggle: name=b; trim=left}B
{endformtoggle}{note}
{endnote}{formtoggle: name=c; trim=left}C
{endformtoggle}

Hey! Just wanted to show you an alternative

{formmenu: default=Choice A; Choice B; Choice C; name=choices}
{if: choices = "Choice A"}
{formtoggle: name=a}{formtoggle: name=b}{formtoggle: name=c}
{if: a = yes}Sanctus clita labore clita dolor dolore eros feugait lorem. Elitr sit magna nostrud aliquyam takimata no ipsum elitr erat clita nihil no sed rebum. Ut rebum no ullamcorper dignissim eros sit. Blandit sadipscing no ea odio stet eos esse sed.

{endif}{if: b = yes}No volutpat elitr gubergren amet illum sed eos sed. Ad nonummy diam gubergren dolore gubergren amet erat duis. Adipiscing duis kasd ut sanctus invidunt ex et magna erat duis sea ut nonumy ipsum veniam sit kasd ea. Eu feugiat delenit vel clita voluptua euismod dolore et gubergren sit eros nonumy gubergren vero consetetur.

{endif}{if: c = yes}Diam lorem magna dolor consequat et ipsum eirmod sanctus accusam rebum. Et no sit gubergren facilisi. Lorem sit augue kasd zzril euismod dolores voluptua et sed eirmod duo. Et at ipsum dolore takimata et.
{endif}{elseif: choices = "Choice B"}
{formtoggle: name=d}{formtoggle: name=e}{formtoggle: name=f}
{if: d = yes}Kasd at zzril vel. Diam kasd takimata dolor. Invidunt feugiat amet kasd at sadipscing. At takimata magna ut ea lorem.

{endif}{if: e = yes}Amet et kasd lorem commodo. Consetetur ut consequat consequat nam eros invidunt eirmod suscipit sea sit gubergren no lorem voluptua eu dolores duo. Dolore diam et justo eos. Magna eirmod consetetur consetetur labore consetetur erat sed sed voluptua.

{endif}{if: f = yes}Amet amet est luptatum sea quod nonumy sit justo et. Lorem consetetur esse est eros sadipscing wisi erat erat sed sit gubergren at possim at sadipscing accusam. Nonumy justo elit sed amet molestie dolores minim elitr at minim dolor justo erat amet sed eirmod amet sanctus. Aliquip et in ipsum ipsum diam consetetur dolore veniam sed consequat zzril duo stet magna.{endif}{elseif: choices = "Choice C"}
{formtoggle: name=g}
{formtoggle: name=h}
{formtoggle: name=i}
{if: g = yes}At et nostrud est aliquam dolore sit feugait et ipsum duo eos consetetur duo. Euismod eirmod no eleifend dolor consequat eu vero rebum vulputate quis. Aliquyam sadipscing et dolores voluptua. Consetetur vel et et vel et ipsum justo vel adipiscing et justo et sit duis doming voluptua nostrud.

{endif}{if: h = yes}Adipiscing clita no sit. Duis amet clita labore. Labore kasd duo hendrerit vero. Accusam sit lorem et.

{endif}{if: i = yes}Erat consequat zzril dolor tempor nostrud labore quis tempor ex labore. Voluptua quis clita ut commodo justo facer ipsum stet justo lorem dolore dolor ipsum vero. Sit sed kasd sanctus elitr. Labore ipsum consetetur lorem kasd invidunt zzril ut ipsum invidunt dolores consetetur.
{endif}{endif}

1 Like

thank you for this. I made a few alterations, basically just having one choice and listening all the possible options A through I. However, one thing I noticed that after I do this, it does look more organized, but then it also gives me a list of all the Yes and No.

no
yes
no
yes

no
no
--> risk of increased SI and suicidal behaviors in individuals under the age of 25 when taking antidepressants

You're welcome :blush: I'd take a guess that it's the formtoggle values, so you could try to hide the values within a note.

{note}{formtoggle: name=g}
{formtoggle: name=h}
{formtoggle: name=i}{endnote}
{if: g = yes}At et nostrud est aliquam dolore sit feugait et ipsum duo eos consetetur duo. Euismod eirmod no eleifend dolor consequat eu vero rebum vulputate quis. Aliquyam sadipscing et dolores voluptua. Consetetur vel et et vel et ipsum justo vel adipiscing et justo et sit duis doming voluptua nostrud.

{endif}{if: h = yes}Adipiscing clita no sit. Duis amet clita labore. Labore kasd duo hendrerit vero. Accusam sit lorem et.

{endif}{if: i = yes}Erat consequat zzril dolor tempor nostrud labore quis tempor ex labore. Voluptua quis clita ut commodo justo facer ipsum stet justo lorem dolore dolor ipsum vero. Sit sed kasd sanctus elitr. Labore ipsum consetetur lorem kasd invidunt zzril ut ipsum invidunt dolores consetetur.
{endif}

1 Like