## 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. AutoConnect will generate the element into HTML only if the enable attribute is true.
**Type**
boolean
#### 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 explicit AutoConnectCheckboxBasis(const char* name = "", const char* value = "", const char* label = "", const bool checked = false, 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.
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**
Boolean
#### enable Enable HTML tag generation for the element. AutoConnect will generate the element into HTML only if the enable attribute is true.
**Type**
boolean
#### 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