PDA

View Full Version : Please help with a Form



Windameer Farm
06-07-2007, 09:18 PM
Hello,

i was getting blank e-mails from this form, and I thought it was someone just pressing the send button. but after never getting anything for it but blanks I asked Lady eye to test it. and it will not let her fill it out. can someone take a look and tell me what I did wrong please.

www.windameersfleamarket4u.com/contactseller.php (http://www.windameersfleamarket4u.com/contactseller.php)


Thank you.

Jolen

Andy128
06-07-2007, 09:29 PM
Couple things-
1- the text next to the comments box is overlapping it and that is why no one can select it with their mouse to write in it. If you tab to it- you can then fill it out. Solution: make sure text box is drawn back and not overlapping.

2- the name box. The condition set in that box is that if the entry is less than 5 characters- then the error message pops up. So "Bob" would result in an error and would bewilder the person entering the data. I found out by looking at the source code of the page. Solution: make sure that the box length maximum and minimum are realistic.

Other than that- I sent you a test entry. Let me know in this thread if you got it.

Andy

navaldesign
06-07-2007, 09:30 PM
See if you get 4 blank emails right now

anthony.attridge@btintern
06-07-2007, 09:33 PM
Hi jolen
i was able to fill in my name in field 1 and my e-mail address. There seems to be a problem with the "offers" field and the "I would like to know about" field. I would go back to the forms settings and check you have entered all the details correctly for these two fields.
Good luck and keep at it.
Tony www.auto-lotto-wins.com (http://www.auto-lotto-wins.com)

Windameer Farm
06-07-2007, 09:45 PM
See if you get 4 blank emails right now

I didn't get them at all Naval.

Jolen

Windameer Farm
06-07-2007, 09:48 PM
Couple things-
1- the text next to the comments box is overlapping it and that is why no one can select it with their mouse to write in it. If you tab to it- you can then fill it out. Solution: make sure text box is drawn back and not overlapping.

2- the name box. The condition set in that box is that if the entry is less than 5 characters- then the error message pops up. So "Bob" would result in an error and would bewilder the person entering the data. I found out by looking at the source code of the page. Solution: make sure that the box length maximum and minimum are realistic.

Other than that- I sent you a test entry. Let me know in this thread if you got it.

Andy


Ok I moved them all more spaced and re published.

Andy128
06-07-2007, 09:56 PM
Did you receive my entry?

If no- Please copy and paste the php code that you are using here in this thread. That way we can have a look at what my be the scripting problem.

Andy

Windameer Farm
06-07-2007, 10:02 PM
I have receaves one e-mail from keath.andersen.

No others.

when I tested it it worked fine.

Windameer Farm
06-07-2007, 10:05 PM
Did you receive my entry?

If no- Please copy and paste the php code that you are using here in this thread. That way we can have a look at what my be the scripting problem.

Andy

<?PHP
$mailto = "orders@windameer.com";
$email = $HTTP_POST_VARS[email];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Intrested in a booth Item";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

Andy128
06-07-2007, 10:17 PM
keith.andersen was my email (sorry didn't clarify that)

So apparently it is working now.

Cheers-

Andy

Windameer Farm
06-07-2007, 10:48 PM
keith.andersen was my email (sorry didn't clarify that)

So apparently it is working now.

Cheers-

Andy

OK thank you Andy and Naval and everyone that helped.

Jolen

navaldesign
06-07-2007, 10:51 PM
But you still havent found out why all those blank emails.....

Windameer Farm
06-07-2007, 11:11 PM
But you still havent found out why all those blank emails.....

Your Right I haven't Do you know how to find out? and I don't know why yours neaver come threw also Naval.

Jolen

Windameer Farm
06-08-2007, 12:39 AM
Well Gentalmen,

It happen again another blank email just like the other ones.

it is from: orders@windameer.com
to: orders@windameer.com
Subject: Intrested in a booth item
message: Values submitted from web site form :
the rest is blank not even the feilds.

dose anyone know what this all meens?

Jolen

navaldesign
06-08-2007, 06:04 AM
Your Right I haven't Do you know how to find out? and I don't know why yours neaver come threw also Naval.

Jolen

I did not sent any. I was testing an idea, and that is why i asked you. I beleive that you have, accidentaly, pasted the action script, either in the form page, or in some other page of yours. By doing so, each time you or someone else visits that page, such an email is sent to you. I refreshed the form page four times, so if the script was pasted there, you should have received 4 blank emails. Obviously it is not. But could be in some other page of yours.

Since i can't see the php part of your pages, i cannot check it. But you can. Open your pages in BV and check if there is some email related php code pasted in some of your pages by mistake.

Please note that normally you will receive these blank emails even if you simply check your thank you page by opening it in your browser. It is not necessary that a form submission has actually taken place.

Windameer Farm
06-08-2007, 02:18 PM
Thank you Naval,

Your Right I somehow put in the e-mail php in the page before the booth page. I found it late last night and corrected it. thank you for your explanation.

This problem is fixed.
Thank you every one for the help.

Andy128
06-08-2007, 04:02 PM
Thats why Naval is a Five Star!!!!!!!!!!!!!! Nice Job.

Andy