<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> label
@ -196,18 +204,25 @@ AutoConnectElement(const char* name = "", const char* value = "", const ACPoster
### <iclass="fa fa-code"></i> Public member variables
#### <iclass="fa fa-caret-right"></i> enable
#### <iclass="fa fa-caret-right"></i> name
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
The element name.
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i>value
#### <iclass="fa fa-caret-right"></i>name
Value of the element. It is output as HTML as it is as a source for generating HTML code.
Casts the reference to the AutoConnectElement the specified type.
<dlclass="apidl">
<dt>**Parameter**</dt>
<dd><spanclass="apidef">T</span><spanclass="apidesc">The element type. AutoConnectElements type such as [AutoConnectButton](apielements.md#autoconnectbutton), [AutoConnectCheckbox](apielements.md#autoconnectcheckbox), [AutoConnectFile](apielements.md#autoconnectfile), [AutoConnectInput](apielements.md#autoconnectinput), [AutoConnectRadio](apielements.md#autoconnectradio), [AutoConnectSelect](apielements.md#autoconnectselect), [AutoConnectStyle](apielements.md#autoconnectstyle),[AutoConnectSubmit](apielements.md#autoconnectsubmit), [AutoConnectText](apielements.md#autoconnecttext).</span></dd>
<dd><spanclass="apidef">T</span><spanclass="apidesc">The element type. AutoConnectElements type such as [AutoConnectButton](apielements.md#autoconnectbutton), [AutoConnectCheckbox](apielements.md#autoconnectcheckbox), [AutoConnectFile](apielements.md#autoconnectfile), [AutoConnectInput](apielements.md#autoconnectinput), [AutoConnectRadio](apielements.md#autoconnectradio), [AutoConnectSelect](apielements.md#autoconnectselect), [AutoConnectStyle](apielements.md#autoconnectstyle),[AutoConnectSubmit](apielements.md#autoconnectsubmit), [AutoConnectText](apielements.md#autoconnecttext).</span></dd>
<dt>**Return value**</dt>
<dd>A reference to the AutoConnectElement with actual type.</dd>
</dl>
@ -272,18 +295,34 @@ AutoConnectFile(const char* name = "", const char* value = "", const char* label
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> label
A label is an optional string. A label is always arranged on the left side of the file input box. Specification of a label will generate an HTML `#!html <label>` tag with an id attribute. The file input box and the label are connected by the id attribute.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
The mime type of the upload file which included as Media type in the http post request. Set by the client (usually the browser) that requested the upload. It is determined by the file type as `application/octet-stream`, `text` etc. which is described in [IANA Media Type](https://www.iana.org/assignments/media-types/media-types.xhtml).
- **`AC_Tag_None`** : No generate additional tags.
- **`AC_Tag_BR`** : Add a `<br>` tag to the end of the element.
- **`AC_Tag_P`** : Include the element in the `<p> ~ </p>` tag.
</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> size
The mime type of the upload file which included as Media type in the http post request. Set by the client (usually the browser) that requested the upload. It is determined by the file type as `application/octet-stream`, `text` etc. which is described in [IANA Media Type](https://www.iana.org/assignments/media-types/media-types.xhtml).
Specifies the save destination of the uploaded file. You can use the built-in uploader to save uploaded file to the flash of the ESP8266/ESP32 module or external SD media without writing a dedicated sketch code. It also supports saving to any destination using a custom uploader that inherits from the AutoConnectUploadHandler class.
@ -345,23 +410,23 @@ AutoConnectInput(const char* name = "", const char* value = "", const char* labe
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i>value
#### <iclass="fa fa-caret-right"></i>label
Value of the element. It becomes a value attribute of an HTML `#!html <input type="text">` tag. An entered text in the custom Web page will be sent with a query string of the form. The value set before accessing the page is displayed as the initial value.
A label is an optional string. A label is always arranged on the left side of the input box. Specification of a label will generate an HTML `#!html <label>` tag with an id attribute. The input box and the label are connected by the id attribute.
Value of the element. It becomes a value attribute of an HTML `#!html <input type="text">` tag. An entered text in the custom Web page will be sent with a query string of the form. The value set before accessing the page is displayed as the initial value.
A pattern specifies a regular expression that the input-box's value is checked against on form submission.
@ -412,6 +469,14 @@ Specifies a tag to add behind the HTML code generated from the element.
</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> value
Value of the element. It becomes a value attribute of an HTML `#!html <input type="text">` tag. An entered text in the custom Web page will be sent with a query string of the form. The value set before accessing the page is displayed as the initial value.
### <iclass="fa fa-code"></i> Public member functions
#### <iclass="fa fa-caret-right"></i> isValid
@ -466,10 +531,18 @@ Specifies the index number (1-based) of the **values** to be checked. If this pa
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
### <iclass="fa fa-code"></i> Public member variables
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> name
@ -751,6 +839,57 @@ Returns current selected option of the select list.
<dd>A String of an option current selected. If there is no select option, a null string returned.</dd>
</dl>
## AutoConnectStyle
### <iclass="fa fa-code"></i> Constructor
```cpp
AutoConnectStyle(const char* name = "", const char* value = "")
```
<dlclass="apidl">
<dt>**Parameters**</dt>
<dd><spanclass="apidef">name</span><spanclass="apidesc">The element name.</span></dd>
<dd><spanclass="apidef">value</span><spanclass="apidesc">Raw CSS code to insert into a style block in a custom web page to generate.</span></dd>
</dl>
### <iclass="fa fa-code"></i> Public member variables
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
### <iclass="fa fa-code"></i> Public member functions
#### <iclass="fa fa-caret-right"></i> typeOf
```cpp
ACElement_t typeOf(void)
```
Returns type of AutoConnectElement.
<dlclass="apidl">
<dt>**Return value**</dt>
<dd>AC_Style</dd>
</dl>
## AutoConnectSubmit
@ -769,6 +908,21 @@ AutoConnectSubmit(const char* name = "", const char* value ="", char* uri = "",
### <iclass="fa fa-code"></i> Public member variables
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> global
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> name
@ -838,6 +992,29 @@ AutoConnectText(const char* name = "", const char* value = "", const char* style
### <iclass="fa fa-code"></i> Public member variables
#### <iclass="fa fa-caret-right"></i> enable
Enable HTML tag generation for the element.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd>
</dl>
#### <iclass="fa fa-caret-right"></i> format
The conversion format when outputting values. The format string conforms to C-style printf library functions.
The global attribute copies input values between elements of the same name on different custom Web pages.
<dlclass="apidl">
<dt>**Type**</dt>
<dd><spanclass="apidef">bool</span><spanclass="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd>