|
|
Reporter | Ewen Pring | |
---|
Assigned To | Vincent Sanders | |
---|
Severity | minor | Reproducibility | always | |
---|
Status | closed | Resolution | fixed | |
---|
Platform | | OS | RISC OS | OS Version | 5.19 |
---|
Product Version | 3.0 | |
---|
Target Version | | Fixed in Version | 3.1 | |
---|
|
|
Summary | 0002050: Form fields not submitted if hidden from display |
---|
Description | If HTML form input fields are hidden using the CSS display:none property, those fields are not sent with the form when submitted (whether using a method of POST or GET). Other browsers seem to send them. |
---|
Steps To Reproduce | See test HTML enclosed. As provided, just press the submit button then examine the URL bar and you can see 'surname' and 'email' have been passed on, but not the 2 other hidden fields. Now alter the inline CSS in the HTML code from display:none to display:all and try again; the extra form fields 'booktype' and 'nopages' will now be seen, and on submitting their values will appear in the URL bar. |
---|
Additional Information | This prevents a 'reverse captcha' on a web contact form of mine working with NetSurf. The writers of the script powering the form suggest using such hidden fields with predetermined values which, if not present (eg because spam bots are doing their worst), will cause the script to stop the attempted contact. It is likely there are quite a few similar contact forms out there on the web. |
---|
Tags | No tags attached. |
---|
|
|
Fixed in CI build # | 1595 |
---|
Reported in CI build # | 1556 |
---|
URL of problem page | |
---|
|
|
Attached Files |
|
---|