FormHelperGetFormFieldDefaultControlType Method (String, Boolean) |
Returns default form field control type according to the form field data type.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 11.0.0
Syntax 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:
FormFieldControlTypeEnumSee Also