Skip to content
Lazyform
All templates

Lead and quote request

Service, budget and project details, so you can price the job before the first call.

Get the code

Request a quote

Tell us about your project and we'll send a quote within two working days.

The code

Uses Tailwind CSS classes. Replace YOUR_ACCESS_KEY with your form's key.

quote.html
<form action="https://lazyform-api.xvelopers.com/submit" method="POST" class="mx-auto w-full max-w-xl space-y-5 rounded-2xl border border-gray-200 bg-white p-8 shadow-sm">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="hidden" name="subject" value="New quote request">
  <input type="checkbox" name="botcheck" class="hidden" style="display:none" tabindex="-1" autocomplete="off">

  <div>
    <h2 class="text-2xl font-semibold text-gray-900">Request a quote</h2>
    <p class="mt-1 text-sm text-gray-600">Tell us about your project and we'll send a quote within two working days.</p>
  </div>

  <div class="grid gap-5 sm:grid-cols-2">
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Name</span>
      <input type="text" name="name" required autocomplete="name" class="mt-1.5 block w-full rounded-lg border border-gray-300 px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
    </label>
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Company <span class="font-normal text-gray-500">(optional)</span></span>
      <input type="text" name="company" autocomplete="organization" class="mt-1.5 block w-full rounded-lg border border-gray-300 px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
    </label>
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Email</span>
      <input type="email" name="email" required autocomplete="email" class="mt-1.5 block w-full rounded-lg border border-gray-300 px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
    </label>
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Phone <span class="font-normal text-gray-500">(optional)</span></span>
      <input type="tel" name="phone" autocomplete="tel" class="mt-1.5 block w-full rounded-lg border border-gray-300 px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
    </label>
  </div>

  <div class="grid gap-5 sm:grid-cols-2">
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Service</span>
      <select name="service" required class="mt-1.5 block w-full rounded-lg border border-gray-300 bg-white px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
        <option value="">Choose one</option>
        <option>Website</option>
        <option>Branding</option>
        <option>Marketing</option>
        <option>Something else</option>
      </select>
    </label>
    <label class="block">
      <span class="text-sm font-medium text-gray-700">Budget</span>
      <select name="budget" required class="mt-1.5 block w-full rounded-lg border border-gray-300 bg-white px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10">
        <option value="">Choose a range</option>
        <option>Under $1,000</option>
        <option>$1,000 to $5,000</option>
        <option>$5,000 to $20,000</option>
        <option>Over $20,000</option>
      </select>
    </label>
  </div>

  <label class="block">
    <span class="text-sm font-medium text-gray-700">About the project</span>
    <textarea name="details" rows="5" required placeholder="Goals, timeline, links…" class="mt-1.5 block w-full rounded-lg border border-gray-300 px-3 py-2.5 text-gray-900 outline-none focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10"></textarea>
  </label>

  <button type="submit" class="w-full rounded-lg bg-gray-900 px-4 py-3 font-medium text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-900 focus:ring-offset-2">
    Get my quote
  </button>
</form>