How to Change the Color that Denotes a Required Field

The information in this article applies to product: e-Work 6.x

Issue

  • How do I change the color of a required field from red to another color?

Resolution

  • For most field types, the color is set in eForm.css (in :\\Program Files\\Metastorm e-Work\\Web6\\eweb\\ie\\css). Search for 'red' in the classes '.rq' and '.rqd' (dates). Change that to the preferred color.
  • For required radio groups, find and replace "red" in RadioGroup.xsl (in :\\Program Files\\Metastorm e-Work\\Web6\\XSL\\ie). Restart IIS for changes to XSL stylesheets to go into effect.
  • To change the red border around a single attachment clip, modify the 2 images that are used for required clips (1 for an empty clip and 1 for a full clip). These images are located in :\\Program Files\\Metastorm e-Work\\Web6\\eweb\\images\\Clips.
  • Note: These changes may be lost when an upgrade or hotfix is installed.
Tagged: