Check to prevent empty project application
This commit is contained in:
parent
cc09437471
commit
dfd8f9e6a3
11
index.html
11
index.html
@ -9768,7 +9768,7 @@
|
|||||||
ev.preventDefault()
|
ev.preventDefault()
|
||||||
|
|
||||||
let mainObj = validateForm()
|
let mainObj = validateForm()
|
||||||
|
|
||||||
if (mainObj != 0) {
|
if (mainObj != 0) {
|
||||||
|
|
||||||
document.getElementById('applytabmain').style.display = 'none'
|
document.getElementById('applytabmain').style.display = 'none'
|
||||||
@ -9822,7 +9822,7 @@
|
|||||||
}, 2500)
|
}, 2500)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -9841,6 +9841,7 @@
|
|||||||
|
|
||||||
|
|
||||||
if (!myFloID_isApplicant) {
|
if (!myFloID_isApplicant) {
|
||||||
|
|
||||||
// name validation
|
// name validation
|
||||||
aname = aname.replace(/\s+/g, ' ')
|
aname = aname.replace(/\s+/g, ' ')
|
||||||
aname = aname.trim()
|
aname = aname.trim()
|
||||||
@ -9891,6 +9892,12 @@
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
awhatsapp = floCrypto.encryptData(awhatsapp, encryption_pubkey)
|
awhatsapp = floCrypto.encryptData(awhatsapp, encryption_pubkey)
|
||||||
|
|
||||||
|
if (aproject == ''){
|
||||||
|
alert("You haven't selected any project")
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user