Question about form submits

Hello,

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
.elementByXPath(’//[1]//[1]//[1]//[3]//[1]//[1]//[1]//[3]’).type(“176”).submit()
});

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

I hope somebody can help me :frowning: