HTML
- CSS Link file:
<link rel="stylesheet" type="text/css" href="index.css">
- Rediect to another page after submit action:
<form action="result.php" method="post" id="codered" runat="vdaemon">
- Apply Regex to input:
<div> <lable for="sr">SR Number</lable> <input type="text" name="sr" id="SR" placeholder="SR#" maxlength="8" pattern="[7][0-9]{7,}" required title="Enter a valid Case Number"> </div>
- Code not sure:
<input type="hidden" name="formID" value="srinfo" /> <input type="hidden" name="redirect_to" value="view.php" />