if u read that email carefully, u will see it's an "alert message"
formmail is telling u about problems that ur users are having so u can monitor it
when ur finished testing, u can set ALERT_ON_USER_ERROR to false to stop those messages
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
In the html code for the form mail page I have set a couple of values as being required by the user to fil out for a successful submission. If they do not complete all the required fields they are redirected to the bad_url page instructing them to retry. Despite the user getting this message and having to retry their submission, the $TARGET_EMAIL recipient still receives the message with incomplete data. It will show only those fields the user did complete. Does the $TARGET_EMAIL recipient HAVE to receive all messages? Even the ones that the user was redirected to the bad_url on? Is there anyway for the $TARGET_EMAIL recipient to only receive those attempts that the user was truely successful with? I'm not much of a programmer but am willing to try. Thanks.
if u read that email carefully, u will see it's an "alert message"
formmail is telling u about problems that ur users are having so u can monitor it
when ur finished testing, u can set ALERT_ON_USER_ERROR to false to stop those messages
Thanks crabtree. Sounds easy enough. I'll try to get things setup soon and will repost if I run into any trouble.
Crabtree. Your directions did the trick. Only the successful submissions come through now. One clarification. The "ALERT_ON_USER_ERROR" is actually in two places within the script. One around line 467 and the other near 6486. Thanks for the help.
only change the value in the configuration section (the earlier line)...
check the doco:
http://www.tectite.com/fmdoc/alert_on_user_error.php
Crabtree...that is what I did to begin with (only changed line 467) but I continued to receive emails on errors. Once I changed the second instance (line 6486) the errors stopped. Aside from changing the first instance are there other risks for changing the second?
only experienced programmers should attemp to change the logic of a script
u should only change the configuration section
if the change didn't work, then u didn't do it right.
hopefully u have a backup copy - return to it and then check the documetnation for the correct instructions
Thanks. I actually changed both lines back to "true" and will continue to test. I appreciate the help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks