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 ?

Being the best in the started business is the obje[…]

Winzo is a popular and unique game on the mobile p[…]

Cannot create process using templets

Real details. The problem was solved by effect!

However, it is essential to use it responsibly and[…]