Using a Bold tag with form.setRequired() function

  • 7002467
  • 27-Jan-2009
  • 26-Apr-2012

Environment

Novell Identity Manager User Application 3.6.1

Situation

If a field label has BOLD tag in it, i.e. <b>Project Name</b> - it does
show the field label in bold on the form. However, when you try to use
form.setRequired() function gives an error message:"An error 'TypeError: v has no properties' was encountered while executing
the script '(function () { var alias = "__" + field.getName(); 
if ( !( alias in window ) ) { window[ alias ] = field; return; // don't do
anything first time called } var aventcompany =
field.getValues().toString(); 
form.setRequired("aventmodprojname",true); if (aventcompany !="" ) { var
aventailurl = IDVault.get("aventurl", aventcompany, 'epmOrg',
'epmAventailURL'); }
})(); // call the function' ". 

Resolution

To make the label text appear different for a control then the other labels on the form, you must use the 'Label css style'
property and use valid css tags. 
for example:
font-size:xx-large; font-weight: 900

A couple of web sites to look at are: http://www.w3.org/Style/Examples/007/fonts#font-style http://www.htmlite.com/CSS004.php 

Additional Information

For additional information please reference the following web sites:

http://www.w3.org/Style/Examples/007/fonts#font-style
http://www.htmlite.com/CSS004.php