Bug 1873215 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In the old design, as long as the address form submitted by users contains at least 3 fields, we consider the form ‘valid’, and hence, the doorhanger is displayed after submission.
However,using a ‘number’ to determine whether to save might not be the best approach. It could lead to saving an address that doesn’t represent a valid address at all (e.g., Organization, Country, Phone). Additionally, it might result in showing the address capture doorhanger too frequently, particularly for users who do not want to save an address.

Additional Notes:
It seems that Chrome only displays the doorhanger when the form contains ALL of the following fields: `Street Name`, `City`, `State`, `Postal Code`, and `Country`.
In the old design, as long as the address form submitted by users [contains at least 3 fields](https://searchfox.org/mozilla-central/rev/9c509b8feb28c1e76ad41e65bf9fd87ef672b00f/toolkit/components/formautofill/shared/FormAutofillSection.sys.mjs#674-677), we consider the form ‘valid’, and hence, the doorhanger is displayed after submission.
However,using a ‘number’ to determine whether to save might not be the best approach. It could lead to saving an address that doesn’t represent a valid address at all (e.g., Organization, Country, Phone). Additionally, it might result in showing the address capture doorhanger too frequently, particularly for users who do not want to save an address.

Additional Notes:
It seems that Chrome only displays the doorhanger when the form contains ALL of the following fields: `Street Name`, `City`, `State`, `Postal Code`, and `Country`.
In the old design, as long as the address form submitted by users [contains at least 3 fields](https://searchfox.org/mozilla-central/rev/9c509b8feb28c1e76ad41e65bf9fd87ef672b00f/toolkit/components/formautofill/shared/FormAutofillSection.sys.mjs#674-677), we consider the form "valid", and hence, the doorhanger is displayed after submission.
However,using a ‘number’ to determine whether to save might not be the best approach. It could lead to saving an address that doesn’t represent a valid address at all (e.g., Organization, Country, Phone). Additionally, it might result in showing the address capture doorhanger too frequently, particularly for users who do not want to save an address.

Additional Notes:
It seems that Chrome only displays the doorhanger when the form contains ALL of the following fields: `Street Name`, `City`, `State`, `Postal Code`, and `Country`.

Back to Bug 1873215 Comment 0