View sourcecode

The following files exists in this folder. Click to view.

m03u01.html

61 lines UTF-8 Unix (LF)
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
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
</head>
<body class="d-flex justify-content-center">
    <form action="output.php" method="POST" class="border rounded p-4 bg-success-subtle" style="max-width: 700px; width: 100%;">
        <div class="mb-3 row">
            <p><label for="name">Förnamn: </label>
            <div class="col-sm-12">
                <input type="text" name="name" class="form-control" required placeholder="Ange ditt namn, ex. Oliver"></p>
            </div>
        </div>

        <input type="hidden" name="userId" value="12">

        <div class="mb-3 row">
            <p><label for="surname">Efternamn:</label>
            <div class="col-sm-12">
                <input type="text" name="surname" class="form-control" required placeholder="Ange ditt efternamn, ex. Lundberg"></p>
            </div>
        </div>

        <div class="mb-3 row">
            <p><label for="password">Lösenord: </label>
            <div class="col-sm-12">
                <input id="password" type="password" name="password" class="form-control" required placeholder="Ange ett lösenord, ex. 1234"></p>
            </div>
        </div>

        <div class="mb-3 row">
        <p><label for="birthday" class="">Födelsedag:</label>
            <div class="col-sm-8">
                <input id="birthday" type="date" name="birthday" required></p>
            </div>
        </div>

        <fieldset class="mb-3">
            <legend class="fs-5 mb-0">Kön</legend>
            <div class="d-flex gap-3">
                <div class="form-check">
                    <br /><label for="kvinna">Kvinna</label><input id="Kvinna" name="gender" value="Kvinna" type="radio" class="form-check-input">
                </div>
                <div class="form-check"> 
                    <br /><label for="Man">Man</label><input id="Man" type="radio" name="gender" value="Man" class="form-check-input">
                </div>
            </div>
        </fieldset>

        <div class="form-check mb-3">
            <input id="terms" type="checkbox" name="terms" class="form-check-input" required>

            <label for="terms" class="form-check-label">Jag godkänner användarvillkoren</label>
        </div>

        <p><input type="submit" name="submit" value="Skicka">
</body>
</html>