-1
I have an input:
<input id="imagens" type="file" multiple name="file" accept="image/x-png, 
        image/gif, image/jpeg" required />
And the following javascript code:
var fileUpload = document.getElementById("imagens");
var enviar = document.getElementById("enviar");
enviar.addEventListener("click", function (event) {
    if (fileUpload.files.length == 0) {
        alert("Nenhum Arquivo Selecionado");
        return;
    }
})
I would like, if the user tried to send the form without images, to be displayed a bootstrap modal instead of this Alert.
https://v4-alpha.getbootstrap.com/components/modal/#modal-Components
– Lucas de Carvalho