Check to prevent empty project application

This commit is contained in:
Vivek Teega 2020-08-24 12:15:45 +05:30
parent cc09437471
commit dfd8f9e6a3

View File

@ -9768,7 +9768,7 @@
ev.preventDefault()
let mainObj = validateForm()
if (mainObj != 0) {
document.getElementById('applytabmain').style.display = 'none'
@ -9822,7 +9822,7 @@
}, 2500)
}
})
}
}
})
@ -9841,6 +9841,7 @@
if (!myFloID_isApplicant) {
// name validation
aname = aname.replace(/\s+/g, ' ')
aname = aname.trim()
@ -9891,6 +9892,12 @@
return 0
}
awhatsapp = floCrypto.encryptData(awhatsapp, encryption_pubkey)
if (aproject == ''){
alert("You haven't selected any project")
return 0
}
}