HTMLHelperFixFormAction Method |
Fixes the form action attribute within given HTML code.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string FixFormAction(
string sourceHtml,
string extension,
bool standardForm = true,
bool ajaxForm = false,
string rawUrl = null
)
Parameters
- sourceHtml
- Type: SystemString
Source HTML code - extension
- Type: SystemString
Current extension - standardForm (Optional)
- Type: SystemBoolean
Fix standard form action, true is used by default - ajaxForm (Optional)
- Type: SystemBoolean
Fix AJAX form action, false is used by default - rawUrl (Optional)
- Type: SystemString
Raw URL of current request, optional
Return Value
Type:
StringSee Also