ajpenalosa
6/22/2018 - 2:44 AM

Modal - trigger on form submit

// You need to remove data-toggle="modal" data-target="#myModal" and trigger your modal manually, you could use this in your code

//First initialize your modal to false so that it doesn't open up

$("#myModal").modal({ show: false});

// in submit method write below code

$("#myModal").modal("show");