Click or drag to resize
FormInfoCombineWithForm Method (FormInfo, Boolean, String, Boolean, Boolean)
Combines the form with another form info.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
public void CombineWithForm(
	FormInfo newForm,
	bool overwriteExisting,
	string excludeColumns = null,
	bool includeCategories = false,
	bool preserveCategory = true
)

Parameters

newForm
Type: CMS.FormEngineFormInfo
Form to include
overwriteExisting
Type: SystemBoolean
If true, existing fields from source form are overwritten by new form fields if their names match
excludeColumns (Optional)
Type: SystemString
Columns to exclude from form combining, separated by semicolon (;)
includeCategories (Optional)
Type: SystemBoolean
If true, categories from the new form will be added
preserveCategory (Optional)
Type: SystemBoolean
If false than even if overwriteExisting is false, field is moved to the current category (but the properties of the field are not overwritten)
See Also