Integrate a file upload into step 2 of a multi-step wizard. Users must upload
a file before advancing to the final step.
1. Info
2. Upload
3. Confirm
Upload your document:
All done! Your submission is ready.
// Step 2: upload required before proceeding
AjaxUploader.create(el, {
uploadUrl: '/ajaxupload.axd/upload',
autoUpload: true,
onComplete: function (file) {
document.getElementById('nextBtn').disabled = false;
}
});