Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#826975
I am trying to make file upload field mandatory using Javascript, i am trying the following code but it's not validating:
Code: Select all
function validate(){

    if($('#VATCertificate')[0].files.length === 0){
        alert("Attachment Required");
        $('#VATCertificate').focus();

        return false;
    }
}
Can someone help me with that ?
Zappify Consumer Report

Zappify 2.0 Review- Picture this: you're sitting o[…]

Zappify Consumer Report

Zappify 2.0 Review- Picture this: you're sitting o[…]

🚨 Verpassen Sie nicht die neueste Handelsplattform[…]

Thanks. Very useful. https://www.solarpanelinstal[…]