Click or drag to resize
FormHelperGetFormFieldDefaultControlType Method (String, Boolean)
Returns default form field control type according to the form field data type.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static FormFieldControlTypeEnum GetFormFieldDefaultControlType(
	string fieldType,
	bool isPrimary
)

Parameters

fieldType
Type: SystemString
Form field data type
isPrimary
Type: SystemBoolean
Indicates whether it is a primary field

Return Value

Type: FormFieldControlTypeEnum
See Also