<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Form Page</title>
</head>
<body>
    <h1>Form Page</h1>
    <form id="myForm" action="/submit" method="POST" onsubmit="return validateForm()">
      <input type="hidden" name="_csrf" value="${csrfToken}">
      
      <label for="data">Data:</label>
      <input type="text" name="data" id="data" placeholder="Enter data" required/><br/>

      