How to highlight fields when validation fails.

1
Hi  I have used “Validation feedback” activity for a textbox in microflow to indicate it needs a value. My requirement is just to highlight (in red color) the field when the validation fails but not show any message. I tried with removing the message but it didn’t work. Can anyone help me with it. Thank you.
asked
3 answers
1

The class used for the validation messages is .mx-validation-message

You can alter the .mx-validation-message class as per your need. Incase you do not want to show the message, then you can add style 

.mx-validation-message {

display: none;

Make sure you do not change the core class, instead update it using your custom sass or css files.

answered
0

you are awesome. it just worked perfectly per the requirement. Thank you.

answered
0

Another question on the same. it hides the feedback message everywhere i apply the validation. I want to hide it on certain pages or certain widgets only. Can i achieve that?

answered