Click or drag to resize
FormFieldInfoExtensionsGetControlName Method
Returns name of control from settings of a formField.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 13.0.131
Syntax
C#
public static string GetControlName(
	this FormFieldInfo formField
)

Parameters

formField
Type: CMS.FormEngineFormFieldInfo
FormField which control name to return.

Return Value

Type: String
Name of control or null if form field settings contains no control name.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FormFieldInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also