Disable various autocompletes

This commit is contained in:
Fred Boniface 2023-05-08 22:11:14 +01:00
parent 98faaaa7ba
commit bc91a843f5
2 changed files with 6 additions and 8 deletions

View File

@ -47,15 +47,13 @@
<label for="name">Location name:</label><br>
<input type="text" class="small-lookup-box" id="name" name="name" readonly><br>
<label for="3alpha">CRS/3ALPHA:</label><br>
<input type="text" class="small-lookup-box" id="3alpha" name="3alpha" maxlength="3"><br>
<input type="text" class="small-lookup-box" id="3alpha" name="3alpha" maxlength="3" autocomplete="off"><br>
<label for="nlc">NLC:</label><br>
<input type="number" class="small-lookup-box" id="nlc" name="nlc" min="100000" max="999999"><br>
<input type="number" class="small-lookup-box" id="nlc" name="nlc" min="100000" max="999999" autocomplete="off"><br>
<label for="tiploc">TIPLOC:</label><br>
<input type="text" class="small-lookup-box" id="tiploc" name="tiploc" maxlength="7"><br>
<input type="text" class="small-lookup-box" id="tiploc" name="tiploc" maxlength="7" autocomplete="off"><br>
<label for="stanox">STANOX:</label><br>
<input type="number" class="small-lookup-box" id="stanox" name="stanox"><br>
<label for="stanme" hidden>STANME:</label><br>
<input type="text" class="small-lookup-box" id="stanme" name="stanme" readonly hidden><br>
<input type="number" class="small-lookup-box" id="stanox" name="stanox" autocomplete="off"><br>
<input type="submit" value="Find" class="lookup-button" onclick="fetchEntry()">
<input type="submit" value="Clear" class="lookup-button" onclick="clearForm()">
</body>

View File

@ -50,11 +50,11 @@
<div id="crs-inputs">
<div class="crs-input">
<label for="origin">From:</label><br>
<input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3">
<input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3" autocomplete="off">
</div>
<div class="crs-input">
<label for="destination">To:</label><br>
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br>
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3" autocomplete="off"><br><br>
</div>
</div>
<button type="submit" value="Find" class="lookup-button">Submit</button>