Click or drag to resize
BasicFormSaveData Method
Saves data and optionally redirects user to specified URL.

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public bool SaveData(
	string redirectUrlAfterSave,
	bool showChangesSaved = true
)

Parameters

redirectUrlAfterSave
Type: SystemString
If specified, user is redirected to this URL after data is successfully saved
showChangesSaved (Optional)
Type: SystemBoolean
If true and redirect URL is not set, Info message "Changes were saved" is displayed

Return Value

Type: Boolean
See Also