Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update form-parsing example in README (#958)
Thanks to PR from @jeremybmerrill, who writes: > This form-parsing example handles form fields recursively contained within other form fields, removes the incorrect-assumption that field-names are unique and includes the alternate field name in output (which is often a very useful guide to what's in a field). > the prior form-parsing example used the field-name ("T" entry) as the key in the form_data dict, implicitly assuming that the field name is globally unique within a document. That's not a correct assumption; nested field names are often simply a numeric index like 1 or 0. The prior example also entirely ignored the TU entry alternate field name.
- Loading branch information