Hi there! New to the community. I'm attempting to create a snippet with form toggles that allow me to hide other toggles based on the 'yes' value selection for the first set of toggles.
Basically, if I select the toggle for 'Single Request', I want it to hide the toggle for '+2 Request' and vice versa, but still have both display inline when neither of them are selected.
I was able to get it to hide the '+2 Request' toggle when selecting 'Single Request' (image A), but I can't figure out how to get it to hide 'Single Request' when the '+2 Request' toggle is selected (image B).
Image A^
Image B^
I would also like to repeat this process for the 'Primary Request' and 'Secondary Request' toggles within the initial 'Single Request' and '+2 Request' toggles. If there's a better way to set this up, I'm open to ideas. This is just the first structure I've played around with for this.
Hey @Ashlyn_Murrell -- welcome to the community and thanks for sharing your use-case.
Would you be able to share the makeup of the snippet itself? That'd make it a bit easier to provide specific guidance.
You can do that by clicking this button when replying to this message, and then pasting the contents of your snippet (when in "edit" mode) into it:


Hi Andrew! Thanks for the response. See the snippet in question below. I won't lie - it's probably a monster of a mess but hopefully you can parse through the chaos provide some guidance! (not sure why the if condition is showing up red here, it works in my dashboard builder)
Hi {formtext: name=Receipient},
I'm reaching out on behalf of {formmenu: Salesperson; name=Requester; multiple=no} who would like to set up a 25-minute prep meeting for the {formtext: name=Strategy} {formtext: name=Client Name} meeting on {formdate: MM/DD/YY} with {formtoggle: name=Single Request; default=no} {formtext: name=First Name} {formtext: default=Last Name}.{formtoggle: name=Primary Request; default=no} Does {=first name
} have any availability during the week of {formdate: MM/DD/YY; name=Week of}{cursor}{key: backspace}{key: backspace}{key: backspace}{wait: delay=+1s} to discuss the agenda and strategy?{endformtoggle}{formtoggle: name=Secondary Request; default=no} Is {=first name
} available on {formmenu: default=Monday; Tuesday; Wednesday; Thursday; Friday; name=Day of Week},{formdate: MM/DD/YY; name=Date}{cursor}{key: backspace}{key: backspace}{key: backspace}, {formmenu: default=at; between}{formtext: name=Time 1}{formtoggle: name=+1 Time; default=no}or {formtext: name=Time 2}{endformtoggle}?{endformtoggle}{endformtoggle} {if: single request
}{else} {formtoggle: name=+2 Request; default=no}{formtext: name=First Name 1}{formtext: name=Last Name 1}and {formtext: name=First Name 2}{formtext: name=Last Name 2}. {formtoggle: name=Primary Request; default=no}Do they have any availability during the week of {formdate: MM/DD/YY; name=Week of}{cursor}{key: backspace}{key: backspace}{key: backspace}{wait: delay=+1s} to discuss the agenda and strategy?{endformtoggle}{formtoggle: name=Secondary Request; default=no}Do they have any availablility on {formmenu: default=Monday; Tuesday; Wednesday; Thursday; Friday; name=Day of Week},{formdate: MM/DD/YY; name=Date}{cursor}{key: backspace}{key: backspace}{key: backspace}, {formmenu: default=at; between}{formtext: name=Time 1}{formtoggle: name=+1 Time; default=no}or {formtext: name=Time 2}{endformtoggle}?{endformtoggle}{endformtoggle}
{endif}
no worries about the red highlight, that's just an issue with the community using different formatting than the actual product. Easy enough for me to work around to help.
Does this do what you wanted it to do?
Hi {formtext: name=Receipient},
I'm reaching out on behalf of {formmenu: Salesperson; name=Requester; multiple=no} who would like to set up a 25-minute prep meeting for the {formtext: name=Strategy} {formtext: name=Client Name} meeting on {formdate: MM/DD/YY} with {if: not `+2 Request`}{formtoggle: name=Single Request; default=no} {formtext: name=First Name} {formtext: default=Last Name}.{formtoggle: name=Primary Request; default=no} Does {=`first name`} have any availability during the week of {formdate: MM/DD/YY; name=Week of}{cursor}{key: backspace}{key: backspace}{key: backspace}{wait: delay=+1s} to discuss the agenda and strategy?{endformtoggle}{formtoggle: name=Secondary Request; default=no} Is {=`first name`} available on {formmenu: default=Monday; Tuesday; Wednesday; Thursday; Friday; name=Day of Week},{formdate: MM/DD/YY; name=Date}{cursor}{key: backspace}{key: backspace}{key: backspace}, {formmenu: default=at; between}{formtext: name=Time 1}{formtoggle: name=+1 Time; default=no}or {formtext: name=Time 2}{endformtoggle}?{endformtoggle}{endformtoggle}{endif} {if: `single request`}{else} {formtoggle: name=+2 Request; default=no}{formtext: name=First Name 1}{formtext: name=Last Name 1}and {formtext: name=First Name 2}{formtext: name=Last Name 2}. {formtoggle: name=Primary Request; default=no}Do they have any availability during the week of {formdate: MM/DD/YY; name=Week of}{cursor}{key: backspace}{key: backspace}{key: backspace}{wait: delay=+1s} to discuss the agenda and strategy?{endformtoggle}{formtoggle: name=Secondary Request; default=no}Do they have any availablility on {formmenu: default=Monday; Tuesday; Wednesday; Thursday; Friday; name=Day of Week},{formdate: MM/DD/YY; name=Date}{cursor}{key: backspace}{key: backspace}{key: backspace}, {formmenu: default=at; between}{formtext: name=Time 1}{formtoggle: name=+1 Time; default=no}or {formtext: name=Time 2}{endformtoggle}?{endformtoggle}{endformtoggle}
{endif}
That makes it so checking the "Single Request" box makes the "+2 Request" box disappear, and checking the "+2 Request" box makes the "Single Request" box disappear. Unchecking either of them makes the disappeared option reappear.
Let me know if I misunderstood or if it needs any more fine-tuning.
Yes that's exactly what I needed! Thank you so much for the assistance! 