Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

#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 ?

Hi. Have you tried to use JavaScript on your Dyn[…]

Hi Please, could you send information about the c[…]

Dashboard issue

Can you show me what you were trying to do in orde[…]

I want to make the Jalali calendar in all of[…]