US-20260127358-A1 - AUTOMATIC FILLING OF A FORM WITH FORMATTED TEXT
Abstract
In some implementations, a device may identify a form field, of a form, that is to be filled with text. The device may determine a formatting for the text that is to be used for filling the form field. The formatting for the text may be determined based on content that is indicative of the formatting that is to be used for filling the form field, or information relating to at least one previous filling of the form field that is associated with a successful submission of the form. The device may modify the text in accordance with the formatting that is determined to obtain formatted text. The device may cause filling of the form field with the formatted text.
Inventors
- Jeremy Goodsitt
- Austin Walters
- Galen Rafferty
Assignees
- CAPITAL ONE SERVICES, LLC
Dates
- Publication Date
- 20260507
- Application Date
- 20251229
Claims (20)
- 1 . A method, comprising: filling, by a device, a form field of an electronic document with first formatted text in accordance with first formatting used for the form field; submitting, by the device, the electronic document with the first formatted text; receiving, by the device and based on submitting the electronic document, an indication of whether the first formatted text was accepted, wherein the indication indicates an error associated with the first formatted text; comparing, based on receiving the indication, the first formatted text with second formatted text associated with a successful submission of the form field; generating or updating, by the device, a record for the form field, wherein the record identifies second formatting associated with the successful submission of the form field; and modifying, by the device and using the second formatting, text for a subsequent filling of the form field without user manual entry of text and without user manual formatting of text.
- 2 . The method of claim 1 , wherein the form field of the electronic document is filled with the first formatted text without user manual entry of text and without user manual formatting of text.
- 3 . The method of claim 1 , wherein comparing the first formatted text with the second formatted text comprises identifying one or more differences between the first formatted text and the second formatted text to determine a formatting change associated with the successful submission.
- 4 . The method of claim 1 , wherein the second formatting comprises a formatting rule that is based on a plurality of successful submissions of the form field.
- 5 . The method of claim 1 , wherein generating or updating the record comprises: updating formatting information stored in the record based on differences identified between the first formatting text and the second formatting text.
- 6 . The method of claim 1 , wherein using the second formatting comprises modifying stored text associated with a user that was used for the filling of the form field.
- 7 . The method of claim 1 , wherein the second formatting indicates one or more of: whether the text is to include or exclude one or more characters, an order in which characters of the text are to be arranged, a location for spacing in the text, or a location for punctuation in the text.
- 8 . A device, comprising: one or more memories; and one or more processors, coupled to the one or more memories, configured to: fill a form field of an electronic document with first formatted text in accordance with first formatting used for the form field; submit the electronic document with the first formatted text; receive, based on submitting the electronic document, an indication of whether the first formatted text was accepted, wherein the indication indicates an error associated with the first formatted text; compare, based on receiving the indication, the first formatted text with second formatted text associated with a successful submission of the form field; generate or update a record for the form field, wherein the record identifies second formatting associated with the successful submission of the form field; and modify, using the second formatting, text for a subsequent filling of the form field without user manual entry of text and without user manual formatting of text.
- 9 . The device of claim 8 , wherein the form field of the electronic document is filled with the first formatted text without user manual entry of text and without user manual formatting of text.
- 10 . The device of claim 8 , wherein the one or more processors, to compare the first formatted text with the second formatted text, are configured to identify one or more differences between the first formatted text and the second formatted text to determine a formatting change associated with the successful submission.
- 11 . The device of claim 8 , wherein the second formatting comprises a formatting rule that is based on a plurality of successful submissions of the form field.
- 12 . The device of claim 8 , wherein the one or more processors, to generate or update the record, are configured to: update formatting information stored in the record based on differences identified between the first formatting text and the second formatting text.
- 13 . The device of claim 8 , wherein the one or more processors, to use the second formatting, are configured to modify stored text associated with a user that was used for the filling of the form field.
- 14 . The device of claim 8 , wherein the second formatting indicates one or more of: whether the text is to include or exclude one or more characters, an order in which characters of the text are to be arranged, a location for spacing in the text, or a location for punctuation in the text.
- 15 . A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising: one or more instructions that, when executed by one or more processors of a device, cause the device to: fill a form field of an electronic document with first formatted text in accordance with first formatting used for the form field; submit the electronic document with the first formatted text; receive, based on submitting the electronic document, an indication of whether the first formatted text was accepted, wherein the indication indicates an error associated with the first formatted text; compare, based on receiving the indication, the first formatted text with second formatted text associated with a successful submission of the form field; generate or update a record for the form field, wherein the record identifies second formatting associated with the successful submission of the form field; and modify, using the second formatting, text for a subsequent filling of the form field without user manual entry of text and without user manual formatting of text.
- 16 . The non-transitory computer-readable medium of claim 15 , wherein the form field of the electronic document is filled with the first formatted text without user manual entry of text and without user manual formatting of text.
- 17 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to compare the first formatted text with the second formatted text, cause the device to identify one or more differences between the first formatted text and the second formatted text to determine a formatting change associated with the successful submission.
- 18 . The non-transitory computer-readable medium of claim 15 , wherein the second formatting comprises a formatting rule that is based on a plurality of successful submissions of the form field.
- 19 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to generate or update the record, cause the device to: update formatting information stored in the record based on differences identified between the first formatting text and the second formatting text.
- 20 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to use the second formatting, cause the device to modify stored text associated with a user that was used for the filling of the form field.
Description
RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 18/190,527, filed Mar. 27, 2023, which is a continuation of U.S. patent application Ser. No. 17/444,780, filed Aug. 10, 2021 (now U.S. Patent No. 11,615,235), the contents of which are incorporated herein by reference in their entireties. BACKGROUND Electronic forms, such as web forms, are commonly used to facilitate the receipt of information from users. In many instances, the information requested in such forms is repeated across various documents. An autofill tool may enable the rapid entry or filling of form fields by storing user data and inserting the stored user data into appropriate form fields. The autofill tool may insert stored data into a form based on predefined form field identifiers associated with the data. For example, the autofill tool may scan the fields of an electronic form for a form field identifier, and automatically insert user data associated with the form field identifier into the appropriate form field. SUMMARY In some implementations, a system for automatic filling of a form of a web page includes one or more memories, and one or more processors, communicatively coupled to the one or more memories, configured to: identify a form field, of the form, that is to be filled with text; determine a formatting for the text that is to be used for filling the form field, wherein the formatting for the text is determined based on: content of the web page that is indicative of the formatting that is to be used for filling the form field, and information relating to at least one previous filling of the form field that is associated with a successful submission of the form, wherein the information indicates at least one previous formatting used for the at least one previous filling of the form field; modify the text in accordance with the formatting that is determined to obtain formatted text; and cause filling of the form field with the formatted text. In some implementations, a method of automatic filling of a form of a web page includes identifying, by a device, a form field, of the form, that is to be filled with text; processing, by the device, the web page to identify content of the web page that is indicative of a formatting for the text that is to be used for filling the form field; determining, by the device, the formatting for the text based on the content that is indicative of the formatting; modifying, by the device, the text in accordance with the formatting that is determined to obtain formatted text; and causing, by the device, filling of the form field with the formatted text. In some implementations, a non-transitory computer-readable medium storing a set of instructions for automatic filling of a form of a web page includes one or more instructions that, when executed by one or more processors of a device, cause the device to: identify a form field, of the form, that is to be filled with text; obtain information relating to at least one previous filling of the form field that is associated with a successful submission of the form, wherein the information indicates at least one previous formatting used for the at least one previous filling of the form field; determine a formatting for the text that is to be used for filling the form field based on the information; modify the text in accordance with the formatting that is determined to obtain formatted text; and cause filling of the form field with the formatted text. BRIEF DESCRIPTION OF THE DRAWINGS FIGS. 1A-1F are diagrams of an example implementation relating to automatic filling of a form with formatted text. FIG. 2 is a diagram of an example environment in which systems and/or methods described herein may be implemented. FIG. 3 is a diagram of example components of one or more devices of FIG. 2. FIG. 4 is a flowchart of an example process relating to automatic filling of a form with formatted text. DETAILED DESCRIPTION The following detailed description of example implementations refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements. As described above, an autofill tool may enable the rapid entry or filling of form fields by storing user data and inserting the stored user data into appropriate form fields. In some scenarios, the autofill tool may misidentify a form field and enter the incorrect user data into the form field. For example, the autofill tool may enter a user's last name into a form field intended for entry of a company name. In other scenarios, the autofill tool may enter the correct user data into the form field using an incorrect formatting. For example, the autofill tool may enter a user's phone number using parentheses around an area code when the form field calls for a consecutive string of numbers. Use of the incorrect user data and/or the incorrect formatting may result in an error that prevents successful submission of the form. As a re