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

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


mklubeck
Level 3 ●●●
Forum|alt.badge.img+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.

Best answer by TomG

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> ```
View original

4 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5935 replies
  • Answer
  • July 28, 2018
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> ```

mklubeck
Level 3 ●●●
Forum|alt.badge.img+8
  • Author
  • Level 3 ●●●
  • 233 replies
  • July 29, 2018
Thanks TomG, do you know which HTML tags are allowed?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5935 replies
  • July 29, 2018
I don’t know if there are any restrictions or what they are.

mklubeck
Level 3 ●●●
Forum|alt.badge.img+8
  • Author
  • Level 3 ●●●
  • 233 replies
  • July 29, 2018
Thanks. I'll try using html...and see if any of the coding doesn't work Marty

Leave a Reply