si el boton es un tipo submit ahi esta el problema:
Solucion nº1: poner el input type como button.
Solucion nº2: poner un onsubmit al formulario:
<form onsubmit="return pregunta(this)"...
...
Código:
function pregunta(esto){
if (confirm('¿Estas seguro de enviar este formulario?'))
{
return true;
}
else
{
alert ('no sera enviado');
return false;
}
}