Can we add formatting like adding line breaks, making text bold in an error message thrown from a custom validator script? Error is thrown on a JSM Portal from Create transition
ScriptRunner version: 8.3.0
I don't think you can do that with a validator script.
But it should be possible with a behaviours validation. The "setError" and "setHelpText" methods accept plain HTML.
This has the added bonus of flagging the error immediately upon entry rather than waiting for the user to click submit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.