add_input method

add_input

Creates a new InputElement and adds it to the end of the form.

Returns

Returns a new created InputElement.

def add_input(self, name):
    ...
ParameterTypeDescription
namestrName of input element

add_input

Creates a new InputElement and adds it to the end of the form.

Returns

Returns a new created InputElement.

def add_input(self, name, type):
    ...
ParameterTypeDescription
namestrName of input element
typeInputElementTypeType of input element

See Also