Repository Public License
1<!doctype html>2<!--3ORIX OS Automation4File: Workflows/Samples/browser-data-entry/site/done.html5Description: Confirmation page of the static test site: shows the submitted values read from the address.6Author: Simon-Pierre Boucher7Contact: contact@spboucher.ai8-->9<html lang="en">10<head>11 <meta charset="utf-8">12 <title>ORIX test form — confirmation</title>13 <link rel="stylesheet" href="style.css">14</head>15<body>16 <main>17 <h1>Confirmation</h1>18 <p id="result" hidden></p>19 <p class="note">This is a test page: nothing was stored or sent.</p>20 </main>21 <script>22 const q = new URLSearchParams(location.search);23 const result = document.getElementById("result");24 if (q.get("name") && q.get("email") && q.get("plan") && q.get("terms") === "yes") {25 result.textContent = "Registered " + q.get("name") + " <" + q.get("email") + "> on plan " + q.get("plan") + ".";26 } else {27 result.textContent = "Incomplete submission.";28 result.className = "error";29 }30 result.hidden = false;31 </script>32</body>33</html>34