You are not logged in.
Pages: 1
I've been quite frustrated the last 4 hours trying to get xinha working on this form, it is working in IE but in FF it will not even show the textarea names in a print_r($_REQUEST). Is there a way to force it to prepare for submit somehow? I have a function that is in the <form onsubmit> but removing that still hasn't helped in ff. Are there any critical ids or anything other than what is in the newbie guide that have to be set for it to work correctly?
Offline
perhaps this does help you:
how do you submit the form? using a real submit button or du you call form.submit() with javascript?
(if you do form.submit() you must call form.onsubmit() bevore, this copies the text from the iframe into the textarea)
Niko
Offline
<form name="fileform" enctype="multipart/form-data" method="POST" onsubmit="return (validateForm( this, 1, 1, 0, 1, 0 ));" action="add.php">
<input width="100" name="submit" value="Submit" type=submit>
is what i have now, that is why I was asking about if there was another function to call as I already have some code in the onsubmit, though I have tried it without that in there and it doesn't seem to work in FF either...
Offline
As I am quickly looking at your HTML, are you sure you are wanting the enctype as "multipart/form-data" which would be for uploading files? I know it shouldn't be a problem and that this is common with it, but just curious if the enctype could be causing a problem.
Also, have you tried using LiveHTTPHeaders for Firefox? It might help in debugging. http://livehttpheaders.mozdev.org/installation.html
<form name="fileform" enctype="multipart/form-data" method="POST" onsubmit="return (validateForm( this, 1, 1, 0, 1, 0 ));" action="add.php"> <input width="100" name="submit" value="Submit" type=submit>
is what i have now, that is why I was asking about if there was another function to call as I already have some code in the onsubmit, though I have tried it without that in there and it doesn't seem to work in FF either...
Last edited by riftdesign (2005-03-22 03:59:37)
rift design studio
[url]http://www.riftdesign.com[/url]
Offline
yeah they also upload files from the same form
Offline
turns out the idiots i inherited this project from had put the <form> inside of a <td>.
Offline
turns out the idiots i inherited this project from had put the <form> inside of a <td>.
LOL...that is probably one of the funniest things I have heard in a while.
rift design studio
[url]http://www.riftdesign.com[/url]
Offline
Pages: 1