Hi, its me again.
I have now this problem. I have two Forms, one is my Search Form and the other the Upload Formular.
I use the SWFUpload Form Example. After the File was uploaded, my Browser didnt redirect to the url "thanks.php", it redirect to "searchengine.php". It redirect the wrong Form. Where and how can i change that?
Thanks.
Form Action
Check for form's action attribute.
document.forms[0].submit();
It was an mistake in the handlers.js
this code submit the first formular in the website:
// Called by the queue complete handler to submit the form
function uploadDone() {
try {
document.forms[0].submit();
} catch (ex) {
alert("Error submitting form");
}
}
my new code with formular name:
// Called by the queue complete handler to submit the form
function uploadDone() {
try {
document.form_swfupload.submit();
} catch (ex) {
alert("Error submitting form");
}
}