Form in ionic 2

Hey,

If i want to call 2 function within the same form in ionic 2 (typescript) for example :

<form [ngFormModel]="myForm" (submit)="function1()"> ==> here i want to add also function2()
i try this way <form [ngFormModel]="myForm" (submit)="function1(),function2()">
but doesn’t work

Regrads

I would embed those 2 functions in a third one, which call both :wink:

... (submit)="submit()">

// inside Page:
submit() {
  function1();
  function2();
}
1 Like