Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-03-22 01:46:08

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

nothing is submitted in firefox

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

#2 2005-03-22 03:03:04

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: nothing is submitted in firefox

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

#3 2005-03-22 03:35:33

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: nothing is submitted in firefox

<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

#4 2005-03-22 03:40:51

riftdesign
Xinha Pro
From: South Dakota, USA
Registered: 2005-03-22
Posts: 55
Website

Re: nothing is submitted in firefox

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

willeffects wrote:
<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

#5 2005-03-22 03:57:01

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: nothing is submitted in firefox

yeah they also upload files from the same form

Offline

#6 2005-03-22 20:45:45

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: nothing is submitted in firefox

turns out the idiots i inherited this project from had put the <form> inside of a <td>.

Offline

#7 2005-03-22 20:58:02

riftdesign
Xinha Pro
From: South Dakota, USA
Registered: 2005-03-22
Posts: 55
Website

Re: nothing is submitted in firefox

willeffects wrote:

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

Board footer

Powered by FluxBB