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 ?

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]