The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert a hyperlink in the text of InvalidInputException?

invi8
August 17, 2018

Hi!

Does anyone know how to insert a hyperlink in the text of InvalidInputException? or another way to show message (with hyperlink in the text) on the validation of transition?

thank you :)

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 17, 2018

Hello @invi8

You cannot do it with validator, because InvalidInputException not rendered.

But you can do it with Behaviours and setError method like this

getFieldById("summary").setError(" Link to <a href=\"https://google.com\">google</a>")