Skip to content

Callback request form

A callback request form: French phone number checked and formatted, topic, working day and time slot, with explicit consent to the call.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

Many visitors would rather be called than write. This form collects a usable request the first time: the name, a French landline or mobile number (accepted with spaces, dots or +33, then shown as 06 12 34 56 78), the topic, a working day within the next 30 days (weekends and past dates are refused) and a time slot; on the same day, slots that have already passed are disabled and struck through. A consent checkbox, unchecked by default, limits the call to this request. Each error is flagged with aria-invalid and a message linked to the field, focus moves to the first field to fix and the confirmation repeats the number, day and slot in a role="status" region. Slots are edited in the markup and the working-day rule is one line of the script; sending plugs into your server or CRM. Labelled native fields, 44 px targets, AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: an insurance broker.

Code

Loading the code…

The code of this component in

Archive contents

formulaire-demande-rappel-html-tailwind.zip3 files · 6 Ko

  • index.html13 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 3, 2026.

Reviews

No reviews yet.

In the same spirit

  • A recruitment form for small businesses: target position, introduction, CV checked in the browser and GDPR consent, with inline errors.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A quote request form for tradespeople: the customer describes the work, picks a start date range and attaches up to six site photos, each with a preview, its size and a button to remove it.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A quote request form whose labels, hints and error messages are full French sentences, still readable at 320 px: nothing overflows, nothing is cut off, and each error is tied to its field.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Visitors pick a package and tick options: the pre-tax total, VAT and total including tax update live, and the summary is sent with the contact form.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component