Forums

On submit code doesn't get saved

OCS 22 May, 2008
Hi, I'm using Joomla 1.5.2 and ChronoForms 2.5 RC3.1.

When i try to add "On submit code before sending email" -code which contains characters like "ä", "ö", "é" it cuts the code at the first occurance of one of those letters when saving the form.

Let's say i want to put this in the code field (with php tags):

echo "Ääääääää";


When I save the form and go back to see the code it will look like this:

echo "


I tried to search if someone has had the same problem but with no luck. If there's a thread already please send a URL to it🙂
GreyHead 22 May, 2008
Hi OCS,

Please use HTML entities to add these characters to your html.

You could also try[code]echo htmlentities['string');[/code]see the php manual for more info.

Bob
OCS 22 May, 2008
That doesn't work. If i put:

echo htmlentities('Äääääää');


and save it, it looks like this:

echo htmlentities('


I'm making a custom mailing script and I use these letters in strings also. If i want to make a string:

$foo = "Message äääää";


it doesn't save anything but:

$foo = "Message


On another project i have Joomla 1.5.0 and ChronoForms 2.5 RC2 installed and this works fine.
Max_admin 22 May, 2008
Hi OCS,

I think this is something server related, it worth a try if you don't have alot of work done yet to install RC2 on this new server and see if it works well and if so then we can find a fix for this issue which will then be CF related!

Just let me know

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
OCS 23 May, 2008

I think this is something server related, it worth a try if you don't have alot of work done yet to install RC2 on this new server and see if it works well and if so then we can find a fix for this issue which will then be CF related!

Just let me know


I installed RC2.1 version and it works fine.

I'm running this system on 2 different systems (localhost & remote server):

Apache 2.2.6 + PHP 5.2.5 + MySQL 5.0.51

IIS 6.0 + PHP 4.4.1 + MySQL 4.1.16

Problem existed in both systems with RC3.1 version. I can use RC2.1 now so there's no panic.
Max_admin 23 May, 2008
Thank you for the update, then this is an issue, could you please send me an email through the contact us form at the top of the site so we can run some test at your server someway, I cant regenerate the issue here as all is fine, I will just give you some files to overwrite and test!

Thanks again!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
OCS 26 May, 2008

Thank you for the update, then this is an issue, could you please send me an email through the contact us form at the top of the site so we can run some test at your server someway, I cant regenerate the issue here as all is fine, I will just give you some files to overwrite and test!


I'll try to make a fresh install as soon as possible when I got the time and notify you after it's done.
This topic is locked and no more replies can be posted.