Bellow written is a dynamic form being bult using JSON i want to add a submit button to it.
<ion-item *ngFor="let form of formVal.questions">
<ion-label stacked >{{form.question}} </ion-label>
<ion-input *ngIf="form.elementSlug ==='text'" placeholder="{{form.fieldPlaceHolder}}" type="text"></ion-input>
<ion-input *ngIf="form.elementSlug ==='number'" placeholder="{{form.fieldPlaceHolder}}" type="number"></ion-input>
<ion-input *ngIf="form.elementSlug ==='email'" placeholder="{{form.fieldPlaceHolder}}" type="email"></ion-input>
<ion-input *ngIf="form.elementSlug ==='password'" placeholder="{{form.fieldPlaceHolder}}" type="password"></ion-input>
<ion-textarea *ngIf="form.elementSlug ==='textarea'" placeholder="{{form.fieldPlaceHolder}}" ></ion-textarea>
<ion-select *ngIf="form.elementSlug === 'radio'">
<ion-option *ngFor="let option of form.options">{{option.optionLabel}}</ion-option>
</ion-select>
<ion-select *ngIf="form.elementSlug === 'checkbox'" multiple="true" >
<ion-option *ngFor="let option of form.options">{{option.optionLabel}}</ion-option>
</ion-select>
on submittion the data will again be sent via http request . i am naive plz explain in detail