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: 9.0.0
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