Click or drag to resize
BaseFieldEditorGetDefaultValueInSystemCulture Method
Returns default value set for given form field or a default value according to the field data type if required. This default value will be in the system (en) culture.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
protected static string GetDefaultValueInSystemCulture(
	FormFieldInfo fieldInfo,
	bool forceDefaultValue = true
)

Parameters

fieldInfo
Type: CMS.FormEngineFormFieldInfo
Form field with default value
forceDefaultValue (Optional)
Type: SystemBoolean
Indicates whether data type default value should be used when no default value is stored in the form field.

Return Value

Type: String
See Also