Click or drag to resize

PFItemIsFieldRequired Method

Checks if a field is required before any Save of this item.

By default, returns True if the field is marked as required or if the transition requires this field, if the transition is specified.

Note : will return false for all FileHolder fields before creation.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public virtual bool IsFieldRequired(
	PFField field,
	params Transition[] transitions
)

Parameters

field
Type: Packflow.CorePFField
PFField.
transitions
Type: Packflow.ModelingTransition
Optional modeling transitions check.

Return Value

Type: Boolean
True if the field must be required, else False.
See Also