HTMLHelperFixFormAction Method (String, String, Boolean, Boolean) |
Fixes the form action attribute within given HTML code.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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:
StringSee Also