Marks the specified field as 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 was hidden by the HideField method. The default value is true.|
This example marks the Unit Price field as required:
This example marks the Unit Price field as required but does not show it if it is hidden:
MakeFieldRequired("Unit Price", false);
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.