Address Autocomplete

Google Places autocomplete.
Two lines of code.

Add a script tag and mark up your inputs. We handle the Google API, domain validation, session tokens, and billing. Your users get instant address suggestions that auto-fill city, state, and zip.

index.html
<!-- 1. Add the script -->
<script src="https://forms.rizzness.com/autocomplete.js?token=YOUR_TOKEN"></script>

<!-- 2. Mark up your inputs -->
<input data-rizzforms-autocomplete="address"
       placeholder="Start typing..." />
<input data-rizzforms-autocomplete="city" />
<input data-rizzforms-autocomplete="state" />
<input data-rizzforms-autocomplete="zip" />

How It Works

1

Add the script

Include one <script> tag with your form token. The token ties autocomplete to your RizzForms account.

2

Mark up your inputs

Add data-rizzforms-autocomplete attributes to your address, city, state, and zip inputs. Any HTML form, any framework.

3

Users get autocomplete

When someone types an address, they see Google Places suggestions. Select one and city, state, and zip auto-fill instantly.

Try It Live

Type an address below and watch the fields auto-fill.

Powered by Google Places API via RizzForms proxy

Works Everywhere

Plain HTML, React, Next.js, Vue, Svelte — any framework. Just HTML attributes.

Plain HTML

<form action="/submit" method="post">
  <input name="address"
         data-rizzforms-autocomplete="address" />
  <input name="city"
         data-rizzforms-autocomplete="city" />
  <input name="state"
         data-rizzforms-autocomplete="state" />
  <input name="zip"
         data-rizzforms-autocomplete="zip" />
  <button type="submit">Submit</button>
</form>

React / Next.js

import Script from "next/script";

export default function Checkout() {
  return (
    <>
      <Script
        src="https://forms.rizzness.com/autocomplete.js?token=YOUR_TOKEN"
        strategy="afterInteractive"
      />
      <input data-rizzforms-autocomplete="address" />
      <input data-rizzforms-autocomplete="city" />
      <input data-rizzforms-autocomplete="state" />
      <input data-rizzforms-autocomplete="zip" />
    </>
  );
}

Under the Hood

Built for security, performance, and cost efficiency.

Server-Side Keys

Your Google API key never touches the browser. Requests proxy through Cloudflare Workers.

Domain Validation

Every request is verified against your registered domains. Unauthorized origins are blocked.

Edge Performance

Cloudflare Workers run at the edge, close to your users. Sub-100ms response times globally.

Session Billing

Automatic session token management groups autocomplete + details into a single billable session.

Stop fighting the Google Places API

Create a free RizzForms account, grab your form token, and add address autocomplete to any site in under a minute.