Addresses

Overview

The Limio Address Form Lightning Web Component (flowAddress) is designed for use in Salesforce Flows, offering a configurable interface for address input. A key feature is the Input: Mandatory fields property, which defines which fields must be completed for validation.

Screenshot 2025-05-23 at 09.49.12.png

Property Configuration

  • API Name: requiredFields

  • Type: String (comma-separated, case-sensitive)

  • Label: Input: Mandatory fields

  • Allowed values: country, postalCode, province, city, street

  • Example: country,postalCode,city

Enter field names as a comma-separated list to specify which fields are required. These are case-sensitive and must not include spaces.


Behavior & Validation

Field Enforcement

The component:

  • Parses requiredFields into an internal array.

  • Validates that all specified fields are completed.

  • Displays error messages listing any missing values.

  • Blocks navigation to the next screen in the Flow if validation fails.

Region-Specific Logic

If the country is set to US or CA, the component automatically adds country, postalCode, and province to the required list—ensuring compliance with regional standards.

Dynamic Updates

The required fields list updates in real time when the country value changes to US or CA.


Best Practices

  • ✅ Use only valid field names: country, postalCode, province, city, street.

  • 🧠 Field names are case-sensitive.

  • 🚫 Do not include spaces between field names.


Summary

The requiredFields property in the Limio Address Form LWC enables Flow admins to enforce address data requirements. It provides flexible validation logic and automatically handles country-specific requirements for the US and Canada.

Last updated

Was this helpful?