
## add_input {#str}

Creates a new [`InputElement`](/html/python-net/aspose.html.forms/inputelement) and adds it to the end of the form.


### Returns 


Returns a new created [`InputElement`](/html/python-net/aspose.html.forms/inputelement).


```python
def add_input(self, name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name of input element |


## add_input {#str-aspose.html.forms.InputElementType}

Creates a new [`InputElement`](/html/python-net/aspose.html.forms/inputelement) and adds it to the end of the form.


### Returns 


Returns a new created [`InputElement`](/html/python-net/aspose.html.forms/inputelement).


```python
def add_input(self, name, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name of input element |
| type | [`InputElementType`](/html/python-net/aspose.html.forms/inputelementtype) | Type of input element |



### See Also
* module [`aspose.html.forms`](../../)
* class [`FormEditor`](/html/python-net/aspose.html.forms/formeditor)
* class [`InputElement`](/html/python-net/aspose.html.forms/inputelement)
