Payment request

Request a payment or invoice settlement.

Why these fields

  • Name: Name captures a short, searchable answer and is required to complete the request.
  • Email: Email provides a validated reply address and is required to complete the request.
  • Invoice number: Invoice number captures a short, searchable answer but remains optional.
  • Amount due: Amount due collects a value that can be validated and compared and is required to complete the request.
  • Due date: Due date collects an unambiguous date but remains optional.
  • Notes: Notes leaves room for context and detail but remains optional.

Fields

NametextrequiredEmailemailrequiredInvoice numbertextAmount duenumberrequiredDue datedateNotestextarea

Preview

Code

<!-- components/PaymentRequestForm.vue — auto-imported by Nuxt. -->
<script setup lang="ts">
import { ref } from "vue";

const sent = ref(false);

async function onSubmit(e: Event) {
  const form = e.target as HTMLFormElement;
  const res = await fetch("https://forms.formward.eu/f/your-form-id", {
    method: "POST",
    headers: { Accept: "application/json" },
    body: new FormData(form),
  });
  if (res.ok) {
    sent.value = true;
    form.reset();
  }
}
</script>

<template>
  <p v-if="sent">Thanks! Your message has been sent.</p>
  <form v-else @submit.prevent="onSubmit">
    <label for="name">Name</label>
    <input type="text" name="name" id="name" required />
    <label for="email">Email</label>
    <input type="email" name="email" id="email" required />
    <label for="invoice_number">Invoice number</label>
    <input type="text" name="invoice_number" id="invoice_number" />
    <label for="amount">Amount due</label>
    <input type="number" name="amount" id="amount" required />
    <label for="due_date">Due date</label>
    <input type="date" name="due_date" id="due_date" />
    <label for="notes">Notes</label>
    <textarea name="notes" id="notes"></textarea>
    <input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="position:absolute;left:-9999px" aria-hidden="true" />
    <button type="submit">Send</button>
  </form>
</template>

Customize before publishing

  • Remove fields you do not need and mark only essential answers as required.
  • Replace placeholder wording with terms your audience already understands.
  • Add your privacy notice, retention details and expected response time.
  • Test keyboard focus, validation errors and the confirmation state on mobile.

Use this with Formward

Create a form, copy your endpoint, and replace https://forms.formward.eu/f/your-form-id in the code above.

Payment request template, copy-paste code | Formward