App.dialog.prompt email

Hi … I would like to know if by any chance there is a way for an app.dialog.prompt () … to validate that it has the format of email swin to be an input.

My code is:

app.dialog.prompt('Ingrese un E-mail:','Enviar Excel', function (name) {
    app.dialog.confirm('Es correcto el correo?<br> ' + name, function () {
      app.dialog.alert('Enviando a: ' + name );
      app.request.get('http://www.appbennetts.com/keyzona/enviararchivo.php', { name: name, fecha:fecha, temp:temp}, function (data) {
      });
    });
  });

thanks

Not by default means, but you can: