Skip to content

Instantly share code, notes, and snippets.

@guillaumebdx
Created October 7, 2021 21:24
Show Gist options
  • Save guillaumebdx/5d749246bcc01d7346150b5b8ec05e65 to your computer and use it in GitHub Desktop.
Save guillaumebdx/5d749246bcc01d7346150b5b8ec05e65 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>support forms</title>
</head>
<body>
<form action="send.php" method="POST" >
<p>
<label for="firstname">Prénom</label>
<input id="firstname" name="firstname" type="text"/>
<p/>
<p>
<label for="lastname">Nom</label>
<input id="lastname" name="lastname" type="text"/>
<p/>
<p>
<label for="zipccode">Code postal</label>
<input id="zipccode" name="zipcode" type="text"/>
<p/>
<p>
<label for="city">Ville</label>
<input id="ville" name="city" type="text"/>
<p/>
<h3>hobbies<h3/>
<label for="judo">Judo</label>
<input id="judo" name="hobbies[]" type="checkbox" value="judo"/>
<label for="sewing">Couture</label>
<input id="sewing" name="hobbies[]" type="checkbox" value="couture"/>
<label for="sam">Sam</label>
<input id="sam" name="hobbies[]" type="checkbox" value="sam"/>
<label for="frodon">Frodon</label>
<input id="frodon" name="hobbies[]" type="checkbox" value="frodon"/>
<label for="bilbo">Bilbo</label>
<input id="bilbo" name="hobbies[]" type="checkbox" value="bilbo"/>
<button>Envoyer</button>
</form>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment