FormHelperGetFormFieldDefaultControlName Method |
Returns default form field control type according to fieldType.
If controlType of the configured control is not allowed, returns null.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 13.0.131
Syntax 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:
StringSee Also