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.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax 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:
StringSee Also