Link field
Use link_input when you want a respondent to provide a URL. The submitted answer is stored as a string under the field’s name.
Configuration
The table lists properties specific to link_input. For shared field properties such as required, see shared properties.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
placeholder | string | No | https://example.com | Hint text inside the empty input. Supports {{field}} piping. |
defaultValue | string | No | None | Prefills the input. May contain a {{hidden_name}} reference. |
validateUrl | boolean | No | true | When true, an answer that is not a web address blocks the page. |
A web address is accepted with or without http:// or https://.
Validation
A required link field with no answer blocks the page. If URL validation is enabled, an answer that is not a web address—for example, one with no domain ending—also blocks the page. Set validateUrl to false to skip that check.
Submission value
The answer is a string. For a field named portfolio_url, the submission data includes a portfolio_url key whose value is the respondent’s URL.
Example
{
"type": "link_input",
"name": "portfolio_url",
"label": "Link to your portfolio",
"subtext": "Include your personal or professional site.",
"placeholder": "https://yourname.com",
"validateUrl": true,
"required": true
}