HTMLHelperFixFormAction Method (String, String, Boolean, Boolean, String) |
Fixes the form action attribute within given HTML code.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string FixFormAction(
string sourceHtml,
string extension,
bool standardForm,
bool ajaxForm,
string rawUrl
)
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 - rawUrl
- Type: SystemString
Raw URL of current request
Return Value
Type:
StringSee Also