Hi,
When using multiple menu items within a snippet, if I don't want to use some of the menu options in the output text, how can I prevent my output text having extra spaces when the item is not used.
Example:
Will output: 'Choice of Saloons, 4x4's,(3 extra spaces) & SUV's'
I then have to manually delete the extra spaces - can this be set up to prevent the extra spaces for unused menu options?
Many thanks
Hi Paul! Take a look at this information about whitespace. It really helped me with these types of situations.
Best of luck!
Laren
2 Likes
@Paul_Williams — on top of what @Santa_Laren suggested, you could also use a toggle command to turn certain sections on/off:
{formtoggle: default=yes}{formmenu: default=Choice A; Choice B; Choice C; Choice D}, {endformtoggle}{formtoggle: default=yes}{formmenu: Choice A; default=Choice B; Choice C; Choice D}, {endformtoggle}{formtoggle: default=yes}{formmenu: Choice A; Choice B; default=Choice C; Choice D}, {endformtoggle}{formtoggle: default=yes}{formmenu: Choice A; Choice B; Choice C; default=Choice D}{endformtoggle}
Many thanks Laren,
I will take a proper look when I get 5 mins
1 Like
Thanks Cedric,
I will look at this later and digest
1 Like
Cool. Ping me again if you need more help