Skip to content

Address fields · for any form with an address

Two tags. The right door, every time.

Paste one script and an element into any form. People type less, pick their exact address from the official register, and are never stuck when something goes wrong.

Included in every plan, the free plan too. Test keys work from any site, localhost included. Version 1.4.0.

Wherever an address is typed

Not just checkout. Any form.

If your page asks for an address, the fields can check it, on any website, whatever it runs on.

The two elements

<rightdoor-address>NL Netherlands, liveBE Belgium, liveFR France, liveLU Luxembourg, live

Postcode first

Postcode and house number, then pick the addition. Street and city fill themselves in from the register. In Belgium: postcode, street, number and bus. In France and Luxembourg: number and street, then postcode and city.

Illustration with the register's answer for 2513 AA 1, the Dutch parliament, captured from the RightDoor API on 11 October 2026. Try the real form in the playground.

<rightdoor-autocomplete>NL Netherlands, liveBE Belgium, liveFR France, liveLU Luxembourg, live

Or just start typing

Type-ahead for the whole address, typos and all: a street and number, a postcode, or a place. One country per box: country="NL", "BE", "FR" or "LU". The chosen address is then checked like a typed one.

Illustration: for a Dutch postcode and number, suggestions come straight from the register, so they are the four addresses a lookup of 2513 AA 1 returned on 11 October 2026.

Install

Paste. Done.

Use a publishable key: it's made to live in a web page. A live one works only from the sites you list, and only for address checks. Your form keeps its own fields and its own submit button.

your-form.html
<script async
  src="https://js.rightdoor.eu/v1/address.js"></script>

<form action="/your-form" method="post">
  <rightdoor-address
    publishable-key="rd_pk_live_…"
    countries="NL,BE,FR,LU"
    required
  ></rightdoor-address>
  <button>Submit</button>
</form>
With type-ahead
<form action="/your-form" method="post">
  <rightdoor-autocomplete
    publishable-key="rd_pk_live_…"
    country="NL"
  ></rightdoor-autocomplete>
  <rightdoor-address
    publishable-key="rd_pk_live_…"
    country="NL"
    required
  ></rightdoor-address>
  <button>Submit</button>
</form>

Built for real forms

Small on the page. Careful underneath.

Fails open
If RightDoor is slow or down, the fields stay an ordinary form and the address goes through as unverified. Nobody is stuck.
Netherlands, Belgium, France and Luxembourg
Toevoegingen in the Netherlands; bus numbers and street names in every official language in Belgium; the number before the street, with bis or ter, in France; the number first, with a comma, in Luxembourg.
Your form, your fields
It fills your own inputs, or brings labelled fields of its own. Both stay in your page, so browsers' saved addresses still work.
For everyone
Built to WCAG 2.2 AA and tested automatically with axe. Not yet tested by hand with screen readers.
Safe in a web page
Publishable keys only, limited to the sites you list. Secret keys stay on your server.
Nothing extra
No cookies, no local storage, no analytics. It loads from js.rightdoor.eu and sends addresses only to api.rightdoor.eu.
styles.css
rightdoor-address,
rightdoor-autocomplete {
  --rd-af-accent: #0a7c55;
  --rd-af-bg: #ffffff;
  --rd-af-text: #1d252a;
  --rd-af-border: #6b767c;
  --rd-af-error: #b3261e;
  --rd-af-radius: 6px;
}

Theming

Looks like your site.

Three built-in themes, rightdoor, rightdoor-dark and minimal, or theme="none" to style it all yourself. Match your brand with 13 CSS variables.

Try it in the playgroundEvery variable

Add it to any form.

Get a publishable key

On Shopify? The app is coming soon, with no code at all.