HtmlButton

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

Usage:

Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Location, Mode, ActionLabel, ActionPath, Class, ["Post"]
Location, Mode, ActionLabel, ActionPath, [""], ["Post"]
Location, ["Append"], ActionLabel, ActionPath, [""], ["Post"]
["Runtime"], ["Append"], ActionLabel, ActionPath, [""], ["Post"]
["Runtime"], ["Append"], ActionLabel, [""], [""], ["Post"]
["Runtime"], ["Append"], ["Submit"], [""], [""], ["Post"]

Description:

Places an HTML < form > on the page with no fields, that submits as an HTTP POST. Use this for buttons that will perform an action or change the state on the server.

The Class parameter may specify an ID by having one of the space separated values start with a #. That name will be set as the ID for the form, instead of being used as a Class name. The Class parameter applies to the form tag by default, but name=value pairs may be used to specify the class for the submit button. The button supports use of the & symbol to be replaced with btn- for each &, and will auto-add the base btn class. For example: "form='myForm' button='&primary'"

Example:

HtmlButton "< ? i plus ? > Add", "?Add=y"