Ticket #666 (closed defect: wontfix)
"file","submit","reset","button" not sent with form
| Reported by: | anonymous | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | IO | Version: | browserio_package |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I really do wonder if that is the correct approach, especially as many server scripters test existence of the submit button before processing the form:
if get_request().get_field('submitBtnName') is not None:
// process form
From BrowserIO.js:
// only add if input of type NOT in array
else if(!dojo.lang.inArray(type, ["file", "submit", "reset", "button"])) {
values.push(name + "=" + enc(elm.value));
}
Perhaps either setting flags for send_file, send_submit etc or defining the array of unsent types elsewhere might be prudent?
regards, Mark (pending dojo fan)
Change History
Note: See
TracTickets for help on using
tickets.