Hi guys,
I have created a custom hosted page that we want to use as a sign up form for an event.
I have multiple fields that I want to collect information for:
Email, First Name, Last Name and Phone Number.
However when I click the submit button the only property that is added to the list is the email. The rest are nowhere to be found.
Here’s my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Masterclass</title>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap" rel="stylesheet">
<style>
inputptype=text] {
width: 60%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
line-height: 140%;
letter-spacing: 1.3px;
}
inputptype=tel] {
width: 60%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
line-height: 140%;
letter-spacing: 1.3px;
}
label {
width: 60%;
margin:2% 0 2% 0;
padding:2% 0 2% 0;
box-sizing: border-box;
font-family: 'Raleway', sans-serif;
line-height: 140%;
letter-spacing: 1.3px;
font-weight: bold;
text-align:left;
}
inputptype=submit] {
width: 60%;
box-sizing: border-box;
font-family: 'Raleway', sans-serif;
font-size: 110%;
line-height: 120%;
letter-spacing: 2.5px;
font-weight: bold;
text-transform: uppercase;
background-color:#B5191F;
color:#ffffff;
margin:1% 0 1% 0;
padding:1% 1% 1% 1%;
border: 2px solid #B5191F;
border-radius: 20px;
cursor: pointer;
}
inputptype=submit]:hover {
opacity: 0.9
}
</style>
</head>
<body style="background-color:#FFFFFF;">
<div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; background-color:#FFFFFF; color:#000000; text-align:center; align-items:center;">
<div style="display:block; margin-left: auto; margin-right: auto; width:50%; margin-top:30px">
<img src="https://d3k81ch9hvuctc.cloudfront.net/company/Ug9vJK/images/7194c715-bde7-4826-9304-55d511bdf8b0.png" width="50%" alt="Grandcruwijnen">
</div>
<div style="display:flex; width:80%; justify-content:center; padding-top:1%;">
<p style="font-size: 130%; font-weight: normal; color: #000000; font-family: 'Raleway', sans-serif; line-height: 110%; letter-spacing: 1px;">Schrijf u in voor deze exclusieve Masterclass en proef de iconische wijnen van Catena Zapata</p>
</div>
<div style="display:flex; width:100%; justify-content:center;">
<form id="email_signup" action="//manage.kmail-lists.com/subscriptions/subscribe" method="POST" style="width:80%; padding-top:1%;">
<input type="hidden" name="g" value="Y7vDeu">
<label for="email" >Email-adres</label><br>
<input type="text" id="k_id_email" name="email" required><br>
<label for="first_name">Voornaam</label><br>
<input type="text" id="k_id_first_name" name="first_name" required><br>
<label for="last_name">Achternaam</label><br>
<input type="text" id="k_id_last_name" name="last_name" required><br>
<label for="phone_number">Telefoonnummer</label><br>
<input type="tel" id="k_id_phone_number" name="phone_number" placeholder="123-45-678" pattern="n0-9]{3}-30-9]{2}-20-9]{3}" required><br>
<div style="display:flex; width:100%; justify-content:center; padding-top:1%;">
<p style="font-size: 130%; font-weight: normal; color: #000000; font-family: 'Raleway', sans-serif; line-height: 110%; letter-spacing: 1px;">Voorwaarden: Bij een no-show berekenen wij € 15,00 per persoon.<br>Uittnodiging is persoonlijk en niet overdraagbaar</p>
</div><br>
<input type="submit" value="Schrijf me in">
</form>
</div>
</div>
<script type="text/javascript" src="//www.klaviyo.com/media/js/public/klaviyo_subscribe.js"></script>
</body>
</html>