css and effect for validation field

Mehrdad ilchizadeh asked on March 3, 2015 06:31

hello, I need set new css class for validation field in all form in kentico CMS.. this load the border Color red for Error and Green for Success value after leave focus of field control without refresh page

Recent Answers

Brenden Kehren answered on March 3, 2015 06:38

If you submit the form without data you can inspect the error element and find there is already a CSS class assigned to it. You can write your styles around that class name. You can then set your form within an ajax panel (checkbox in the webpart) to ensure it doesn't post back.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.