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: 9.0.0
Syntaxpublic 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