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.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax 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:
StringSee Also