Click or drag to resize
FormHelperGetFormFieldDefaultControlName Method
Returns default form field control type according to fieldType. If controlType of the configured control is not allowed, returns null.

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

Parameters

fieldType
Type: SystemString
Form field data type. Use constants defined in FieldDataType class.
controlType (Optional)
Type: CMS.FormEngineFieldEditorControlsEnum
Type of control.

Return Value

Type: String
See Also