Address fields
Address Line 2 Meaning and Examples
Address Line 2 is the optional part of an address that adds delivery details after the main street address. It usually contains an apartment, suite, unit, floor, room, department, building, or mailbox detail.
Common Address Line 2 values
- Apt 4B for an apartment.
- Suite 1200 for an office suite.
- Unit 8 or #8 for a unit number.
- Floor 3 or Room 302 for larger buildings.
- Building A for campuses or multi-building complexes.
Example format
Jordan Miller
845 Market St
Suite 420
San Francisco, CA 94103
United States
Testing recommendations
Test your form with Address Line 2 empty, short, long, and combined with the street line. CSV exports should preserve the field as text, and mobile layouts should not hide or truncate apartment and suite labels.
Field mapping for QA
| Value | Typical meaning | Expected behavior |
|---|---|---|
| Apt 4B | Apartment | Accepted as optional secondary delivery information. |
| Suite 1200 | Office suite | Stored as text and preserved in exports. |
| Building A, Floor 3 | Complex or campus detail | Long values wrap without clipping on mobile. |
| Empty | No secondary detail | Form can submit when the field is optional. |
Practical QA examples
- Paste a 100-character unit description and confirm the limit is clear rather than silently truncating data.
- Enter Unicode building text in an international form and verify normalization does not remove meaningful characters.
- Export a record with Address Line 2 empty and one with
Apt 4B; both rows should keep the same column order.
Preservation test across optional states
Create three records with the same main street line: one with Address Line 2 empty, one with Apt 4B, and one with a long building-and-floor value. Save, edit, export, and re-import all three. The empty value must remain valid, and populated values must stay attached to the correct address rather than being appended unpredictably to the city or street.
| Transition | Expected behavior | Bug exposed |
|---|---|---|
| Empty to populated | The new value appears once on labels and receipts. | A stale empty placeholder creates a blank line or comma. |
| Populated to empty | The field clears without deleting Address Line 1. | A combined-address update removes the street. |
| Country change | The value is retained until the user confirms how to remap it. | The form silently discards an apartment or building. |
Reference
Generate examples
The U.S. address generator, Japan address generator, and UK address generator include secondary address variants for QA workflows.