-
Notifications
You must be signed in to change notification settings - Fork 0
/
cadastroDispensa.html
49 lines (42 loc) · 1.42 KB
/
cadastroDispensa.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<html>
<head>
<title>Stock :: Cadastro de Dispensa</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css3/bootstrap.min.css" rel="stylesheet">
<link href="css3/style.css" rel="stylesheet">
</head>
<body>
<br><br>
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
<button onclick="window.location.href='menu.php'" class="btn btn-block btn-lg btn-outline-success">Voltar ao Menu</button><br>
<form role="form" action="processa.php" method="POST" name="dados" onSubmit="return enviardados_user();">
<div class="">
<label for="descricao">Descrição</label>
<input type="text" placeholder="nome do dono do estoque" name="descricao" class="form-control" id="exampleInputEmail1">
</div>
<br>
<input type="submit" class="btn btn-primary" name="CadastrarDispensa">
</div>
<script>
function enviardados_user(){
var retorna = true;
var descricao;
//verifica campos vazios
if(document.dados.descricao.value=="")
{
alert( "Preencha campo DESCRIÇÃO corretamente!" );
document.dados.descricao.focus();
return false;
}
}
</script>
</form>
</div>
</body>
</html>