Click or drag to resize
HTMLHelperFixFormAction Method (String, String, Boolean, Boolean)
Fixes the form action attribute within given HTML code.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string FixFormAction(
	string sourceHtml,
	string extension,
	bool standardForm,
	bool ajaxForm
)

Parameters

sourceHtml
Type: SystemString
Source HTML code
extension
Type: SystemString
Current extension
standardForm
Type: SystemBoolean
Fix standard form action
ajaxForm
Type: SystemBoolean
Fix AJAX form action

Return Value

Type: String
See Also