SPB Git

Repository Public License

details.html 1.5 KB 41 lines html

1<!doctype html>2<!--3ORIX OS Automation4File: Workflows/Samples/browser-data-entry/site/details.html5Description: Page 2 of the static test site: plan and terms; carries the values of page 1 in hidden fields.6Author: Simon-Pierre Boucher7Contact: contact@spboucher.ai8-->9<html lang="en">10<head>11  <meta charset="utf-8">12  <title>ORIX test form — step 2 of 2</title>13  <link rel="stylesheet" href="style.css">14</head>15<body>16  <main>17    <h1>Choose a plan</h1>18    <p class="note">Step 2 of 2 for <strong id="who"></strong>.</p>19    <form action="done.html" method="get">20      <input id="carry-name" name="name" type="hidden">21      <input id="carry-email" name="email" type="hidden">22      <label for="plan">Plan</label>23      <select id="plan" name="plan" required>24        <option value="">Choose…</option>25        <option value="solo">Solo</option>26        <option value="team">Team</option>27        <option value="company">Company</option>28      </select>29      <label class="inline"><input id="terms" name="terms" type="checkbox" value="yes" required> I accept the test terms</label>30      <button id="submit" type="submit">Submit</button>31    </form>32  </main>33  <script>34    const q = new URLSearchParams(location.search);35    document.getElementById("carry-name").value = q.get("name") || "";36    document.getElementById("carry-email").value = q.get("email") || "";37    document.getElementById("who").textContent = q.get("name") || "(no name)";38  </script>39</body>40</html>41
Files main
Menu

Theme