Version: 3.2.0 (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker) Compiler: gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) OS: Linux (i686) release 2.6.3-4mdk When posting this I saw there were many closed and resolved issues regarding multipart/form-data bugs. I think this is a new one: I want to populate a hidden field with the path from the file I want to upload. Once I've selected a file and blur the file field I want the Javascript method to run. It works on IE and Mozilla. Nothing happens with Konqueror. The Javascript method is never hit. This ONLY happens with multipart/form-data. HTML ================================ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script language="javascript"> function setHiddenFieldName(elem) { var curForm = document.form1; if (elem.value != '') { curForm.hiddenField.value = elem.value; alert(curForm.hiddenField.value); } } </script> </head> <body> <form action="something" method="post" enctype="multipart/form-data" name="form1"> <p> <input type="hidden" name="hiddenField"> </p> <p> <input type="file" name="file" onBlur="setHiddenFieldName(this)"> </p> </form> </body> </html> =============================
Created attachment 11463 [details] Testcase attached
AFAICT, what's actually happening is that Konq isn't running the onBlur command at all, regardless of whether the multipart/form-data is set. Retitling to reflect this
testcase works on 3.5.9 as well as on trunk r794020.
So could this bug be closed?
yes. closing it right now.