Change background color on mandatory fields

Is it possible to mark mandatory fields on a form with a yellow background color until they enter something in the field?

Looking for something that is simple if possible.

Thanks
Alan

I'm not sure how exactly you want to mark this? Are you referring to setting the background color of edit controls where values are mandatory? If so, the edit control .Color property should allow you to do this.