1
0
-1

Hi

I need a button(Form Element- Field) inside the form that should send mail/ Generate PDF which should not call submit action. 

 

I tried to create a plugin extends Element. But i don't know how to implement click action of that button.

 

Please suggest me any solution?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, clicking on a HTML button would naturally submit a form. If you do not wish to submit a form, then you would want to use an AJAX call https://stackoverflow.com/questions/35203019/how-can-i-send-an-ajax-request-on-button-click-from-a-form-with-2-buttons

        CommentAdd your comment...