Zipcode has valid format (ES)
What this tool does
Check if a postal code written for Spain follows the correct format. It is a simple check based on the structure of the numbers.
Common uses
- Validate customer address forms to ensure Spanish postal codes are entered correctly.
- Filter out invalid entries during data cleaning for Spanish addresses.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
zipcode | Yes | 08012 | Enter the Spanish postal code as five digits (e.g., 08012). |
Output data
| Field | Description |
|---|---|
result | Returns true if the format is valid, or false if it is not (e.g., true). |