Skip to content
BlogWebsite forms

Website forms: filtering spam without losing customer inquiries

Blocking bots and receiving useful inquiries are separate outcomes. Test both, including when a customer loses connection.

Test worksheet: Website forms: control spam and retain inquiries

Blocking bots and receiving useful inquiries are separate outcomes. Test both, including when a customer loses connection. Record inputs, expected outcome, evidence, owner and observed result.

Download CSV worksheet
In this guide

Define when an inquiry counts as received

A carrier may need origin, destination and date; a factory may receive quote requests with a description and contact. Ask only for information needed to handle the initial inquiry. Define whether receipt means storing a record or passing it to an agreed inbox. Success must match that boundary rather than appearing as soon as someone clicks.

Cloudflare Turnstile requires server verification: the widget alone does not protect the form. reCAPTCHA also documents backend verification and expiring single-use tokens. These provider controls differ from saving an inquiry and delivering its notice. Test each step in your implementation.

Fictional example: L-017 without a visible response

Test customer Ana O'Neill uses accented text, provides a valid email and requests a quote. The server saves L-017, but the connection drops before confirmation appears. On return, the page offers lookup or resumption without another record. This synthetic case is neither measured inquiry data nor a declared capability of Nightly's website.

The rehearsal also uses an expired verification token. The form explains how to renew verification while preserving entered fields. It does not call this an invalid email or erase the customer's inquiry. When a message needs review, use a clear state rather than claiming a representative has already replied.

LayerWhat it checksWhat it does not establish
Field validationFormat, size and necessary rulesThat everyone is a real customer
Abuse controlVerification and frequency ruleThat the inquiry was saved
ReceiptDurable record or agreed destinationDelivery of notification email
Follow-upOwner finds and handles inquiryConfirmed sale or appointment

Test the customer you want to serve

OWASP recommends field-specific rules and warns that blocking characters such as apostrophes can reject legitimate names. Allow necessary text, limit length and validate structured data by meaning. A link alone is insufficient evidence of spam: a valid inquiry may include a product reference.

CaseExpected resultEvidence
Ana O'Neill uses accents and punctuationValid inquiry accepted without changed meaningFields and L-017 record
Verification token expiresClear renewal with fields preservedState and new attempt
Request lacks server validationRejected under the control, without a false inquiryServer result
Response lost after savingRecover confirmation or state without duplicating L-017Reference and attempts
Notification email failsInquiry remains queryable; notice pendingRecord and notification state
Request exceeds field limitSpecific explanation without erasing other dataField and error message

Distinguish rejection, pending and confirmed receipt

Agree what happens when the verification service does not respond: do not claim success with an unknown outcome. Preserve entered text and offer an appropriate alternative channel where relevant. Test keyboard, screen reader, mobile and slow connections; an abuse control blocking legitimate inquiries also needs correction.

The inquiry retry identifier belongs to your operation and is different from a CAPTCHA token. A token may expire or permit one use while an inquiry still needs confirmation recovery. Review that separation and reference lifetimes. Controls and limits depend on provider, abuse patterns and risk; they do not promise to eliminate all spam.

Measure whether the team can handle received work

Have someone find L-017 and check its state without reading extensive technical logs. Connect this rehearsal with qualified inquiry measurement, making buying easier and website performance. A fast page can still lose inquiries through false success messages.

The worksheet has ten tests with empty outcomes. Bring current fields, anonymized spam examples and a valid inquiry to a free consultation about websites. We can review where work is lost and a useful test before adding more submission obstacles.

Review a valid inquiry and incoming spam

A valid inquiry and spam examples help review rules without blocking blindly. In a free consultation, follow the fields, confirmation message and receipt destination through to the person who must respond.

  • Current form fields and messages
  • One valid inquiry and anonymized spam examples
  • Receipt destination, notices and response owner
Book a free consultationAsk on WhatsApp

Related

Frequently asked questions

The choice depends on risk and existing controls. Identify abuse and test legitimate customer experience first. If you use a verification provider, implement and test its server validation; a visible widget is insufficient.

Define necessary field rules rather than a generic suspicious-character list. Apostrophes, accents and references can be legitimate. Validation does not replace other defenses when storing or displaying data; test that meaning is preserved.

A click, attempt or inquiry with a failed notice may have been counted. Compare the event with the received record and delivery status. An analytics event does not establish that the team has an inquiry to handle.

Use fictional inputs and an authorized rehearsal destination. Simulate lost response after saving and verify one reference. Do not use customer addresses or a real campaign to test that behavior.

Sources

  1. Validate the tokenCloudflare
  2. Verifying the user's responseGoogle
  3. Input Validation Cheat SheetOWASP

Last updated:

Keep reading

Fixed price in pesos

Ready for your website?

Fixed-price packages from $10,000 MXN, VAT included, paid once for the build. The first year of hosting, domain, email and maintenance is included. We reply the same business day.

  • Pay by card or SPEI
  • First year of hosting included
  • You review it before launch