Nav bar with "submit" validation form

I need to submit form to validation, but the button to validade are located in nav-bar. How i do it?

Ive already tried get the form and call the submit method:

<form class="user-ion-list" id="form-id">

and on navi bar click, i get id and call the method:

   registerUserClick(){
          document.getElementById("form-id").submit();
   }

But it does not work.
Can someone help me, plz?

Thx!

you can try this.

<form class="user-ion-list" id="form-id">

<input type="submit" form="form-id" />