Address finder

The Address pattern helps users provide their address using their postcode or by entering it manually.

Usage guidance

Place the burden of correcting formatting on the system not the user. For example, a user should be able to enter their postcode with or without spaces. E.g. ‘N1 9NG’ or ‘N19NG’ are both accepted by the system.

When to use

  • Wherever possible use the postcode finder with the option to enter addresses manually
  • Always offer the option to enter their address manually

Manual address entry

What is your address?

We'll use your address to search our database. The database contains models of property characteristics based on your address. This helps us predict your energy demands.
Example: 223-231 Pentonville Rd
Example: Unit 7, The Lodge
Example: LL13 7AS
Please leave a space between the two parts of the postcode.

Skip manual entry. Find my address

HTML
<fieldset>
  <legend><h3 class="h4 mb-2">What is your address?</h3></legend>
  <div class="mb-4">
    <a class="hint-link" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
        Why do we need to know your address?
      </a>
    <div class="collapse" id="collapseExample">
      <div class="hint-body">
        We'll use your address to search our database. The database contains models of property characteristics based on your address. This helps us predict your energy demands.
      </div>
    </div>
  </div>
  <div class="mb-4">
    <label for="address_1" class="form-label">Address line 1</label>
    <div class="form-text">Example: 223-231 Pentonville Rd</div>
    <input type="text" class="form-control" id="address_1">
  </div>
  <div class="mb-4">
    <label for="address_2" class="form-label">Address line 2 (optional)</label>
    <div class="form-text">Example: Unit 7, The Lodge</div>
    <input type="text" class="form-control" id="address_2">
  </div>
  <div class="mb-4">
    <label for="address_3" class="form-label">Town or city</label>
    <input type="text" class="form-control" id="address_3">
  </div>
  <div class="mb-4">
    <label for="postcode" class="form-label">Postcode</label>
    <div class="form-text">Example: LL13 7AS<br>
  Please leave a space between the two parts of the postcode.</div>
    <input type="text" class="form-control form-postcode" id="postcode">
  </div>
  <p>Skip manual entry. <a href="#">Find my address</a></p>
</fieldset>

What is your address?

We'll use your address to search our database. The database contains models of property characteristics based on your address. This helps us predict your energy demands.
Example: Unit 7, The Lodge
Example: LL13 7AS
Please leave a space between the two parts of the postcode.

Enter my address manually

HTML
<h3 class="h4 mb-2">What is your address?</h3>
<div class="mb-4">
  <a class="hint-link" data-bs-toggle="collapse" href="#collapseExample2" role="button" aria-expanded="false" aria-controls="collapseExample2">
      Why do we need to know your address?
    </a>
  <div class="collapse" id="collapseExample2">
    <div class="hint-body">
      We'll use your address to search our database. The database contains models of property characteristics based on your address. This helps us predict your energy demands.
    </div>
  </div>
</div>
<div class="mb-4">
  <label for="address_1" class="form-label">House number or name (optional)</label>
  <div class="form-text">Example: Unit 7, The Lodge</div>
  <input type="text" class="form-control" id="address_1">
</div>
<div class="mb-4">
  <label for="postcode" class="form-label">Postcode</label>
  <div class="form-text">Example: LL13 7AS<br>
    Please leave a space between the two parts of the postcode.</div>
  <input type="text" class="form-control form-postcode" id="postcode">
</div>
<p><a href="#">Enter my address manually</a></p>