
A website address can help a sales team understand an inquiry before replying. It can also become an unnecessary obstacle when a visitor does not know whether to enter a domain, a complete link, or a social profile. Contact Form 7 provides a native URL field, but a useful implementation needs clear instructions, appropriate validation, and a deliberate decision about how the submitted link will be used.
This guide covers collecting website links in CF7, passing them into notifications, and checking the result. It is based on official documentation reviewed October 9, 2026. The examples are configuration patterns to verify on your own staging form; they are not claims about tests performed on your website.
Choose an optional or required URL field
CF7 supports url for an optional address and url* for a required one. Its text-field documentation lists URL-specific options, including autocomplete:url, placeholders, and length limits. Use an optional field unless a website is genuinely necessary to handle the request. A required company website makes little sense on a general support form that also serves individuals.
Write down the business purpose first. A website audit request may need the exact page to review. A partnership inquiry may need only the organization’s homepage. These are different inputs: label the first “Page to review” and the second “Company website.” Avoid a generic “URL” label that asks visitors to interpret an implementation term.
Add a clear label and example
In the form editor, add a labeled field with a stable name. This example collects an optional company website:
<label> Company website (optional)
[url company-website autocomplete:url placeholder "https://example.com"]
</label>
<p>Include the full address, starting with https://.</p>
The placeholder is an example, not a submitted default. The visible label continues to explain the field after the visitor starts typing. Keep the instruction close to the input, especially on mobile where distant help text may be overlooked. If the website is essential, change the tag to url* and update the label so the requirement is explicit.
Do not prepopulate a real company website just to make the form look complete. A visitor may submit it without noticing, leaving the team with a plausible but incorrect link. For more on defaults and page context, see our CF7 prefill guide. A default is business data; a placeholder is guidance.
Pass the value into the notification
The form-tag creates the input; the matching mail-tag includes its value in the Mail tab. Add a clearly named line in the notification body:
Company website: [company-website]
CF7’s mail configuration guide explains the connection between form fields and notification content. Keep the name identical in both places. Renaming the form field while leaving an old mail-tag behind can produce a notification that loses the address the visitor entered.
For an optional field, decide whether an empty line is useful to the recipient. CF7 offers an option to exclude lines containing blank mail-tags; review the surrounding body before enabling it. A compact notification is helpful, but removing lines should not remove context that identifies the inquiry. If you use an HTML notification, inspect the actual message output rather than assuming a URL automatically becomes the link presentation you intended.
Separate URL syntax from website suitability
Passing URL validation does not prove a website exists, belongs to the sender, or is appropriate for your business. The field is for collecting an address. It is not an ownership verification service. A syntactically acceptable address may be mistyped, redirect elsewhere, or point to a page that has disappeared.
Use human review when the website is just background information. If an automated system will fetch submitted links, design that integration separately with an explicit policy for destinations and redirects. Do not turn every inquiry into an automatic request from your server to an arbitrary address. The simplest lead workflow often stores the supplied link and lets the assigned person review it in context.
Similarly, do not describe successful URL validation as a qualified lead. A company link is one piece of information. Qualification still depends on the request, relevance, and follow-up. Reporting should keep form outcomes separate from business decisions.
Use a small, meaningful validation matrix
Check a complete HTTPS address, a deep page path, a URL with query parameters, an empty optional field, and an empty required field. Also try an address without the scheme and obviously unsuitable input such as ordinary prose. Record the actual behavior of the installed CF7 version and browser; do not assume every apparently abbreviated address will be corrected for the visitor.
If genuine visitors repeatedly omit the scheme, improve the instruction before introducing custom validation or normalization. Any normalization should be explicit and narrowly scoped. Automatically rewriting an ambiguous value can create a different destination from the one the visitor intended. A custom rule also needs its own explanation when it rejects an address.
Use synthetic addresses in a controlled environment and a captured mail destination. Our testing checklist helps connect field checks with notification and reporting checks. Do not send a wave of production inquiries to exercise validation.
Check mobile entry and downstream records
On a phone, inspect the field label, keyboard behavior, help text, and correction message. Paste a long but legitimate link and make sure the input does not break the layout. Then verify that the same address reaches the notification or approved submission store without being truncated by a downstream field limit.
Document whether the receiving CRM stores a homepage, a specific page, or both. Keep the raw submitted value if later normalization matters, and avoid creating a new company record solely because two links have different paths. The field name and business definition should survive across the integration.
Review the outcome over time
Start with one purpose, one clearly labeled field, and a short validation record. Review recurring visitor confusion before adding more rules. For submission trends, the free Svetlik Analytics for Contact Form 7 provides a dashboard; it does not verify website ownership or determine lead quality. Combine form-level observations with the team’s actual inquiry review process.
