submitcontent is submitting empty fulltext field

milow 16 May, 2010
Hi,
I have the following problem with the submitcontent form: when using firefox and submitting a form, the fulltext field becomes empty and the article text is also empty when viewing the article later. The problem does not appear in Internet explorer or google chrome - here is the debug info for sending a form in firefox and in chrome:

firefox
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [title] => Test [fulltext] =>
[created_by_alias] => lll [chrono_verification] => gJksU [undefined] => Submit Story [6d6af3775a6e2462184dd9609ae8ca9f] => 1 [1cf1] => 221cc6702b29a20b11c746f3b2debccb [chronoformname] => submitcontent )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (yourdomain.com)forums@yourdomain.com to [email]webmaster@yourdomain.com[/email]
9. Debug End



chrome
Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [title] => test [fulltext] => Test123 [created_by_alias] => poj [chrono_verification] => cfzD6 [undefined] => Submit Story [6107d745ba629af545f7accddd00c944] => 1 [1cf1] => 378b744395ed1cc1e0d62962eb173569 [chronoformname] => submitcontent )
$_FILES Array: Array ( )
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (yourdomain.com)forums@yourdomain.com to [email]webmaster@yourdomain.com[/email]
Debug End


Thanks in advance in resolving this strange problem

Best Regards,
Kiril
GreyHead 16 May, 2010
Hi milow,

ChronoForms doesn't touch the data between the submit button being pressed and the $_POST array being filled so something else is going on here.

Have you checked the NET tab in FireBug to see if the submission is correct?

Bob
milow 16 May, 2010
Hi,
Thanks alot for the quick answer - i have checked the "NET" tab in firebug - all the status messages are 200 OK before and after the submit. The post message for com_chronocontact is:
Parametersapplication/x-www-form-urlencoded
1116a22569e6ba6b6e4a80501...	1
1cf1	29b6cc37a2a9999f0dddd61f54222002
created_by_alias	akusherka
fulltext	<br mce_bogus="1">
title	Test Article Title 2
undefined	Изпрати
Source
Content-Type: application/x-www-form-urlencoded Content-Length: 217 title=Test+Article+Title+2&fulltext=%3Cbr+mce_bogus%3D%221%22%3E&created_by_alias=akusherka&undefined=%D0%98%D0%B7%D0%BF%D1%80%D0%B0%D1%82%D0%B8&1116a22569e6ba6b6e4a8050113dc9ce=1&1cf1=29b6cc37a2a9999f0dddd61f54222002
and the fulltext, I wrote was: "Test Article Body 2"
Very strange...thanks again
GreyHead 16 May, 2010
Hi milow,

These lines don't look correct:

fulltext <br mce_bogus="1">
title Test Article Title 2


Can you post a link to the form?

Bob
milow 18 May, 2010
Hi again,
The problem is resolved - there was an issue with the template I'm using. After removing <?php if ( $my->id ) initEditor(); ?>
in the template code everything works fine now.
Thanks alot for the cooperation ! Really a great component !
This topic is locked and no more replies can be posted.