-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Support qualified names in update_page_form_field_values (#1695)
PDF forms often use names like "A.1", "A.2", "B.1", "B.2", … for the fields. However, the `.` has a special meaning, so this creates a hierarchy instead. It was impossible to fill those individual fields with `update_page_form_field_values()`: ```python update_page_form_field_values({"A": "foo"}) # fills all "A.*" fields update_page_form_field_values({"1": "foo"}) # fills all "*.1" fields update_page_form_field_values({"A.1": "foo"}) # fills none of the fields ``` This change makes `update_page_form_field_values()` to also check for qualified field names. See also: #545
- Loading branch information
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters