unslopkit

Components / Forms

Contact form with errors

A contact form with topic chips, shown after a failed send: a summary that links to each problem, and messages tied to their fields.

Talk to the Halden team

A real person reads every message. We reply within one working day.

What is it about?

Error: Enter an email like name@company.com

0 / 1,000

Error: Tell us what you need help with

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-form-contact-errors">
<form class="ct" action="#" novalidate aria-labelledby="ukc-form-contact-errors-title">
  <h3 id="ukc-form-contact-errors-title">Talk to the Halden team</h3>
  <p class="lead">A real person reads every message. We reply within one working day.</p>
  <div class="errs" role="alert" tabindex="-1" aria-labelledby="ukc-form-contact-errors-errs">
    <h4 id="ukc-form-contact-errors-errs"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg>Two things to fix</h4>
    <ul>
      <li><a href="#ukc-form-contact-errors-email">Enter an email like name@company.com</a></li>
      <li><a href="#ukc-form-contact-errors-message">Tell us what you need help with</a></li>
    </ul>
  </div>
  <fieldset class="topics">
    <legend>What is it about?</legend>
    <div class="chips">
      <label><input type="radio" name="ukc-form-contact-errors-topic" value="plans"><span>Plans and pricing</span></label>
      <label><input type="radio" name="ukc-form-contact-errors-topic" value="billing" checked><span>Billing</span></label>
      <label><input type="radio" name="ukc-form-contact-errors-topic" value="broken"><span>Something broke</span></label>
      <label><input type="radio" name="ukc-form-contact-errors-topic" value="other"><span>Something else</span></label>
    </div>
  </fieldset>
  <div class="f"><label for="ukc-form-contact-errors-name">Your name</label><input id="ukc-form-contact-errors-name" type="text" autocomplete="name" value="Dana Whitfield"></div>
  <div class="f">
    <label for="ukc-form-contact-errors-email">Email</label>
    <input id="ukc-form-contact-errors-email" type="email" autocomplete="email" value="dana@whitfield" aria-invalid="true" aria-describedby="ukc-form-contact-errors-email-err">
    <p class="err" id="ukc-form-contact-errors-email-err"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg><span><span class="sr">Error: </span>Enter an email like name@company.com</span></p>
  </div>
  <div class="f">
    <div class="row"><label for="ukc-form-contact-errors-message">Message</label><span class="count" id="ukc-form-contact-errors-count">0 / 1,000</span></div>
    <textarea id="ukc-form-contact-errors-message" rows="4" aria-invalid="true" aria-describedby="ukc-form-contact-errors-message-err ukc-form-contact-errors-count"></textarea>
    <p class="err" id="ukc-form-contact-errors-message-err"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg><span><span class="sr">Error: </span>Tell us what you need help with</span></p>
  </div>
  <button class="go" type="submit">Send message</button>
</form>
</div>

More forms

All 24
  • New job · step 2 of 3

    Draft saved 10:42am

    1. Client, done
    2. 2Site
    3. 3Pricing

    Where is the work?

    For Alder Street Kitchens · change

    Crews get directions to this address.

    How do crews get in?

    Only crew leads can see this.

    Three-step wizard

  • Filter bar for a list

  • Corbel Dining Room

    Request a table

    We confirm by text within the hour. Tables are held for 15 minutes.

    Day
    Time

    Allergies, a high chair, anything we should know.

    Table booking request

  • 1Where it goes
    2Who takes the delivery

    The driver texts this number 20 minutes out.

    Grouped delivery address

  • Payment method

    For your Halden subscription and any add-ons.

    Choose how to pay

    The CVC is the 3 or 4 digit code on the back of the card.

    We email our account details with each invoice. Use the invoice number as the reference.

    Payment method picker

  • Invite your crew

    3 of 10 seats used

    Crew
    Logs hours, photos, and materials
    Office
    Sends quotes and invoices
    Admin
    Everything, plus billing
    Add a personal note

    Invite teammates