I have a simple form that requires the user to enter a subject (text field) and a message (text area field).
The problem is that, when the user enters quotes in the message field, the text is not correctly entered into the database. More specifically, it is truncated at the first occurrence of a quote (').
Any solutions for this?
Thanks!
The problem is that, when the user enters quotes in the message field, the text is not correctly entered into the database. More specifically, it is truncated at the first occurrence of a quote (').
Any solutions for this?
Thanks!
Hi joskebangelijk,
This shouldn't be a problem, normally quoting is handled automatically.
Please check Site Admin | Help | System Info | PHP Settings and see if Magic Quotes are On or Off.
Bob
This shouldn't be a problem, normally quoting is handled automatically.
Please check Site Admin | Help | System Info | PHP Settings and see if Magic Quotes are On or Off.
Bob
Dear Bob
Magic Quotes are Off in my PHP Settings. After some googling, I found that adding
php_flag magic_quotes_gpc on
to the .htaccess file should change that, but it doesn't. Any ideas on how to change this setting?
Thanks!
Magic Quotes are Off in my PHP Settings. After some googling, I found that adding
php_flag magic_quotes_gpc on
to the .htaccess file should change that, but it doesn't. Any ideas on how to change this setting?
Thanks!
Hi joskebangelijk,
They should be off - so that is OK.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
They should be off - so that is OK.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
There you go! Thanks for your help!!
Hi joskebangelijk,
The form works OK here - no truncation in the emails or in the database save. What do you see with this example?
Bob
The form works OK here - no truncation in the emails or in the database save. What do you see with this example?
Bob
I see the same as you.
If I submit the same on my website, I get the following:
If I submit the same on my website, I get the following:
Hi joskebangelijk,
Hmmm . .. not sure what's happpening here. That's in the email isn't it.
Please turn on Debug in the form General tab and see what is being submitted in the $_POST array. I'd expect that to be complete.
Bob
Hmmm . .. not sure what's happpening here. That's in the email isn't it.
Please turn on Debug in the form General tab and see what is being submitted in the $_POST array. I'd expect that to be complete.
Bob
Hello Bob
Here is the output with the DEBUG flag ON.
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 ( [Subject] => test debug [Message] => IMPORTANT NOTICE! Due to a bug in the software, messages with double quotes (") are not sent correctly. Please remove them until we find a solution. Thanks [chrono_verification] => xFX4k [button_4] => Send [f3365bf42d9b450a03f2d1e109c01502] => 1 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
(So that seems to be OK...) But then, when I click on "Submit", I get the following (see attached Screenshot.png).
Here is the output with the DEBUG flag ON.
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 ( [Subject] => test debug [Message] => IMPORTANT NOTICE! Due to a bug in the software, messages with double quotes (") are not sent correctly. Please remove them until we find a solution. Thanks [chrono_verification] => xFX4k [button_4] => Send [f3365bf42d9b450a03f2d1e109c01502] => 1 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
(So that seems to be OK...) But then, when I click on "Submit", I get the following (see attached Screenshot.png).
That triggered a solution, though: if I don't use the "Confirmation Page" plugin, the error disappears. So, the error must be with this plugin.
Hi joskebangelijk ,
Glad you found the cause. There are some other known problems with the Confirmation Page plug-in but I don't recall this one. I think that the plug-in needs a re-write :-(
Bob
Glad you found the cause. There are some other known problems with the Confirmation Page plug-in but I don't recall this one. I think that the plug-in needs a re-write :-(
Bob
Well, it works now (albeit without confirmation, but that's not such a problem because I manually approve all emails sent to the list).
Thanks for all your help!!!
Thanks for all your help!!!
This question was posted to the forum in Sept, 2010 -- has a rewrite of the confirmation plug-in happened yet?
I am a new user of Chronoforms and this issue is plaguing me. In my case, the confirmation page is necessary so the user can verify that they have entered all their information correctly. In fact, I would like to have a "print" button available on the bottom of the confirmation page so the user could get a hard copy which does not include the banners, menus, etc. that appear on the page. I have not been able to get this to work, either. Any suggestions?
amf
I am a new user of Chronoforms and this issue is plaguing me. In my case, the confirmation page is necessary so the user can verify that they have entered all their information correctly. In fact, I would like to have a "print" button available on the bottom of the confirmation page so the user could get a hard copy which does not include the banners, menus, etc. that appear on the page. I have not been able to get this to work, either. Any suggestions?
amf
This topic is locked and no more replies can be posted.