## AutoConnectButton ### Constructor ```cpp AutoConnectButton(const char* name = "", const char* value = "", const String& action = String(), const ACPosterior_t post = AC_Tag_None) ```
**Parameters**
nameThe element name.
valueValue of the element.
actionNative code of the action script executed when the button is clicked.
postSpecifies the tag to be output afterward the element.
### Public member variables #### action HTML native code of the action script to be executed when the button is clicked. It is mostly used with a JavaScript to activate a script.[^1]
**Type**
String
[^1]:JavaScript can be inserted into a custom Web page using AutoConnectElement. #### enable Enable HTML tag generation for the element.
**Type**
boolAutoConnect will generate the element into HTML only if the enable attribute is true.
#### global The global attribute copies input values ​​between elements of the same name on different custom Web pages.
**Type**
boolAn entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.
However, it will be copied only when the destination element has the true for a global attribute.
#### name The element name.
**Type**
String
#### post Specifies a tag to add behind the HTML code generated from the element.
**Type**
ACPosterior_t - **`AC_Tag_None`** : No generate additional tags. - **`AC_Tag_BR`** : Add a `
` tag to the end of the element. - **`AC_Tag_P`** : Include the element in the `

~

` tag.
#### value Value of the element.
**Type**
String
### Public member functions #### typeOf ```cpp ACElement_t typeOf(void) ``` Returns type of AutoConnectElement.
**Return value**
AC_Button
## AutoConnectCheckbox ### Constructor ```cpp AutoConnectCheckbox(const char* name = "", const char* value = "", const char* label = "", const bool checked = false, const ACPosition_t labelPosition = AC_Behind, const ACPosterior_t post = AC_Tag_BR) ```
**Parameters**
nameThe element name.
valueValue of the element.
labelA label string prefixed to the checkbox.
checkChecked state of the checkbox.
labelPositionSpecifies the position of the label to generate.
postSpecifies the tag to be output afterward the element.
### Public member variables #### checked It indicates the checked status of the checkbox. The value of the checked checkbox element is packed in the query string and sent by submit.
**Type**
bool
#### enable Enable HTML tag generation for the element.
**Type**
boolAutoConnect will generate the element into HTML only if the enable attribute is true.
#### global The global attribute copies input values ​​between elements of the same name on different custom Web pages.
**Type**
boolAn entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.
However, it will be copied only when the destination element has the true for a global attribute.
#### label A label is an optional string. A label is always arranged on the right side of the checkbox. Specification of a label will generate an HTML `#!html