vuejs2 - Can't Submit FormData via Axios -


i using vue-form-wizard large 5 panel form , specs there no “additional submit buttons” other wizard’s next button … have 4 of 5 panels licked last panel kicking butt.

it panel 6 documents uploaded. wrapped panel in form tag (the other panel submit via axios) this:

<tab-content title="documents" :before-change="docs_next">     <form id="frmdocs" @submit.prevent="documentsupload”> 

docs_next method panel runs when wizard’s next button clicked

docs_next() {      document.getelementbyid('frmdocs').submit();      return true;  },  documentsupload() {      alert('form submitting'); } 

this test submit , alert not firing. suggestions?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -