## AutoConnectButton ### Constructor ```cpp AutoConnectButton(const char* name = "", const char* value = "", const String& action = String()) ```
**Parameters**
nameThe element name.
valueValue of the element.
actionNative code of the action script executed when the button is clicked.
### 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
#### 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) ```
**Parameters**
nameThe element name.
valueValue of the element.
labelA label string prefixed to the checkbox.
checkChecked state of the checkbox.
### 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