Survey-library: Change the color of a title element on validation error

Created on 5 Jun 2018  路  2Comments  路  Source: surveyjs/survey-library

Are you requesting a feature, reporting a bug or ask a question?

a question

What is the current behavior?

I can't change the color of a title element on validation.

What is the expected behavior?

I would like to be able to change the color of the elements' title on validation. So that when a question is not answered correctly the title becomes 'red' (for example).

Thanks in advance

question

Most helpful comment

It can be chieved via custom CSS class for the questions with errors.
I've prepared a sample for you - https://plnkr.co/edit/rtKDjj1jojfa183KKDQ7?p=preview
Please let me know whether it helped

All 2 comments

It can be chieved via custom CSS class for the questions with errors.
I've prepared a sample for you - https://plnkr.co/edit/rtKDjj1jojfa183KKDQ7?p=preview
Please let me know whether it helped

the example was perfect! Thanks, you helped us solving the problem :)

Was this page helpful?
0 / 5 - 0 ratings