Technical article
Contact and quote forms that generate more relevant enquiries
Design forms that collect enough context without overloading visitors, with clear labels, useful error feedback and a logical next step.
- UX & accessibility
- Contact
- quote
- forms
- that
- generate

In this article
A contact or quotation form collects enough context for a useful reply and explains what happens after submission. Assess relevant enquiries actually received. More completed fields or starts do not themselves prove conversion gains.
Give every field a purpose
Illustrative first enquiry: name to address the person, email to reply and a project question to qualify the request. Make phone optional when email suffices. Request documents when someone can review them. A budget question can help if you explain its purpose and allow “not known yet”.
Recover without starting again
Use visible labels, recognisable required fields and specific errors beside fields. Preserve valid input after rejection. An error summary can link to affected fields. Enforce the same boundaries server-side even with browser validation. W3C describes validation and accessible error feedback.
use Illuminate\Foundation\Http\FormRequest;
final class ContactRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'name' => ['required', 'string', 'max:100'],
'email' => ['required', 'email:rfc', 'max:254'],
'message' => ['required', 'string', 'max:5000'],
];
}
}This FormRequest allows public submission; protected forms need their own authorisation. Pass only validated() to processing. The route uses a limiter named contact: define it with appropriate boundaries and preserve CSRF protection. These snippets are not a complete mail handler.
Route::post('/contact', ContactStoreController::class)
->middleware('throttle:contact')
->name('contact.store');Distinguish receipt and delivery
Show success for the step actually confirmed. Mail-server acceptance does not prove inbox delivery. Test double-clicks, validation failure and provider outage without real mail. Measure start, confirmed processing and qualification separately; do not send message text or contact details to analytics.
Example verification: PHP fragments were syntax-checked with PHP 8.5.11. Laravel execution and hosting behaviour were not tested; use a suitable test application and configuration.
Last updated:


