## 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 #### name The element name.
**Type**
String
#### value Value of the element.
**Type**
String
#### 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. ### 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 #### name The element name.
**Type**
String
#### value Value of the element. It becomes a value attribute of an HTML `#!html ` tag.
**Type**
String
#### 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