Marks the specified field as optional (that is, not required), if it is not already marked as such. It updates the field and the label appropriately.
|fieldName||String||The name of the field.|
|bShowIfHidden (optional)||Boolean||Show the field if it is currently hidden. The default value is true.|
This example marks the Unit Price field as optional:
This example marks the Unit Price field as optional but does not show it if it is hidden:
MakeFieldOptional("Unit Price", false);
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.