<commit_before>= Class FormPanel (derived from SimplePanel) =

A panel that wraps its contents in an HTML <FORM> element.

This panel can be used to achieve interoperability with servers
that accept traditional HTML form encoding. The following widgets
will be submitted to the server if they are contained within this panel:

L{TextBox}, L{PasswordTextBox}, L{RadioButton}, L{CheckBox},
L{TextArea}, L{ListBox}, L{FileUpload} and L{Hidden}

In particular, FileUpload is only useful when used within a
L{FormPanel}, because the browser will only upload files using
form submission.

The example below calls Google to perform a search using
the query entered by the user into the text field. The
results are shown in a separate Frame. Alternatively,
you can call Form.addFormHandler(handler) to manually
process the results of posting the form. When this is done,
handler.onSubmit(event) will be called when the user is
about to submit the form; call event.setCancelled(True)
to cancel the event within this method. Also,<commit_msg>form panel use quotes not angle-brackets<commit_after>= Class FormPanel (derived from SimplePanel) =

A panel that wraps its contents in an HTML "FORM" element.

This panel can be used to achieve interoperability with servers
that accept traditional HTML form encoding. The following widgets
will be submitted to the server if they are contained within this panel:

L{TextBox}, L{PasswordTextBox}, L{RadioButton}, L{CheckBox},
L{TextArea}, L{ListBox}, L{FileUpload} and L{Hidden}

In particular, FileUpload is only useful when used within a
L{FormPanel}, because the browser will only upload files using
form submission.

The example below calls Google to perform a search using
the query entered by the user into the text field. The
results are shown in a separate Frame. Alternatively,
you can call Form.addFormHandler(handler) to manually
process the results of posting the form. When this is done,
handler.onSubmit(event) will be called when the user is
about to submit the form; call event.setCancelled(True)
to cancel the event within this method. Also,
{'fraction_non_alphanumeric': 0.05404112864658058, 'fraction_numerical': 0.0, 'mean_word_length': 5.282282282282282, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1057107', 'n_tokens_mistral': 528, 'n_tokens_neox': 520, 'n_words': 300}