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.
April 24, 2009 - 9:20pm
Check for form's action attribute.
April 25, 2009 - 6:50am
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");
}
}