Click or drag to resize
FormHelperGetFormFieldDefaultControlType Method (String, FieldEditorControlsEnum)
Returns default form field control type according to the form field data type. If the control type of the configured control is not allowed, returns null.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 10.0.0
Syntax
C#
public static string GetFormFieldDefaultControlType(
	string fieldType,
	FieldEditorControlsEnum controlType = FieldEditorControlsEnum.All
)

Parameters

fieldType
Type: SystemString
Form field data type
controlType (Optional)
Type: CMS.FormEngineFieldEditorControlsEnum
Control type

Return Value

Type: String
See Also