You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I return false in the onSubmit function (because extra form elements are not filled out) the queue is cleared and a second attempt to upload after adding missing info fails because there is nothing to upload.
My work around is to call a validation function with the submit button, and after that, call uploader.submit() . The form button needs to have onclick="return false" to prevent Simple-Ajax-Uploader from uploading the file even if the validation function is returning false.
The text was updated successfully, but these errors were encountered:
If I return false in the onSubmit function (because extra form elements are not filled out) the queue is cleared and a second attempt to upload after adding missing info fails because there is nothing to upload.
My work around is to call a validation function with the submit button, and after that, call uploader.submit() . The form button needs to have
onclick="return false"
to prevent Simple-Ajax-Uploader from uploading the file even if the validation function is returning false.The text was updated successfully, but these errors were encountered: