Hi,
I am trying to create a snippet which makes it easier to format tickets in ServiceNow.
I want to be able to run this snippet:
{formmenu: default=Red; Orange; Yellow; Green; Blue;name=steps}
{if: steps="Red"; trim=right}
{formparagraph: name=Type text here:; default=; cols=60; rows=7}
{elseif: steps="Orange"; trim=right}
{formparagraph: name=Type text here:; default=; cols=60; rows=7}
{elseif: steps="Yellow"; trim=right}
{formparagraph: name=Type text here:; default=; cols=60; rows=7}
{elseif: steps="Green"; trim=right}
{formparagraph: name=Type text here:; default=; cols=60; rows=7}
{elseif: steps="Blue"; trim=right}
{formparagraph: name=Type text here:; default=; cols=60; rows=7}
{endif: trim=right}
But have the text inserted by the author paste into this code:
[code]<p style="color:red;">"Insert required text"</p>[/code]
This would mean we can choose the colour we want and the text required without the analysts needing to be familiar with code.
Unsure if this is possible but it would be really handy to have.
Thanks in advance!