Wraps the value of a submit button in a comment for use inside the button element, so that MS Internet Explorer 7 will post the desired value.

Syntax

Smartsite SXML CopyCode image Copy Code
string html.form.msiebuttonvalue(string value)
string html.form.msiebuttonvalue(string value, boolean checkUserAgent)
string html.form.msiebuttonvalue(string value, string caption)
string html.form.msiebuttonvalue(string value, string caption, boolean checkUserAgent)

Parameters

Name Data Type Description
value String The value.
checkUserAgent Boolean If set to true the comment will only be returned when the user agent is Internet Explorer.
caption String The caption.

Return Value

Data Type Description
String The wrapped value

Expand image Remarks

Expand image Example

SXML