Question about form submits


I have a question.
I need to test a search-function which is given by a form.
The submit Function is also given inside the form without any button.

I can type what i want so search, but unfortunately I have no clue how I can submit what I typed. (As the button is part of the form)

it(“should Search Inventory List”, function(){
return driver

I am using the newest Appium, testing with Node and iOS.

I hope somebody can help me :frowning: