So, I want to make my custom error message "look good" - it seems I'm very limited | XM Community
Solved

So, I want to make my custom error message "look good" - it seems I'm very limited

  • 27 July 2018
  • 4 replies
  • 25 views

Userlevel 6
Badge +8
related to an earlier question, I plan to use a customized error message - but it seems very restrictive. No rich content editor (like other messages), no images, no tables, etc. I tried creating a General message and hoped I could choose it for the error message...but alas, nope. I have to use a "validation message" which is highly restrictive.

Another solution could be if in a multiple choice question I could show a different error (validation) message for each choice made. It seems that I only get one message per question rather than per choice.

Any help will be appreciated.
icon

Best answer by TomG 29 July 2018, 00:20

View original

4 replies

Userlevel 7
Badge +27
You can include html tags in a validation message so you can make it look however you want. For example, if I wanted a right aligned validation message it would look like:
```
<div style="text-align:right">This is a right aligned validation message.</div>
```
Userlevel 6
Badge +8
Thanks TomG, do you know which HTML tags are allowed?
Userlevel 7
Badge +27
I don’t know if there are any restrictions or what they are.
Userlevel 6
Badge +8
Thanks. I'll try using html...and see if any of the coding doesn't work

Marty

Leave a Reply