Click or drag to resize
FormHelperGetFormFieldsWithDefaultValue Method
Returns "alternative form fields definition" containing only specified attribute and value for all fields E.g. Set visible false for all fields in alt. form.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 12.0.0
Syntax
C#
public static string GetFormFieldsWithDefaultValue(
	string sourceXml,
	string attributeName,
	string value
)

Parameters

sourceXml
Type: SystemString
Default/original form definition
attributeName
Type: SystemString
Attribute which should be set to default
value
Type: SystemString
Default value

Return Value

Type: String
See Also