~Cheryl ElhipigenlenJun 4, 2013, 4:06 PM366 PostsRe: Computed Style If you are doing client side validation then you can use any of the following dojo classes to alter the class associated with the componenent dojo.addClass Adds a CSS class to a node. dojo.removeClass Removes a class from a Node. dojo.toggleClass Toggles a className.
~Dan ChufanakonyJun 5, 2013, 7:26 AM4 PostsRe: Computed StyleForgot to mention it: We need Server-side validation.
~Elizabeth XanvelulyakoiJun 5, 2013, 2:36 PM17 PostsRe: Computed StyleInvalid fields has the attribute '[aria-invalid]' with value 'true'. So in your style sheet, you can apply style for them, like below: [aria-required=true] { background-color: red; border-color:white}