im using a webform but there is one problem if i write text in text field and press ENTER button then the SEND IS UNSUCCESSFUL and if i press on Submit button then the send is Successful.. any solution?
im using a webform but there is one problem if i write text in text field and press ENTER button then the SEND IS UNSUCCESSFUL and if i press on Submit button then the send is Successful.. any solution?
Very vague. Post actual details so we can help, and especially a link to your page will help.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
see at left bottom EMAIL UPDATES
Last edited by ff123; 05-09-2008 at 08:41 PM.
Because you're not using a valid HTML form. You're using javascript to submit the form.
That will only workCode:onClick="return checkmail(this.form.mail)"onClick(i.e. when you click on it).
You have a ton of other problems on your page though. You should look into using CSS for your layout and making sure that your HTML is valid.
ahan ok thanks![]()
one more problem im facing i changed the submit button to image and now the form is not sending email here is the php code that im using in php page any solution?
Code:<?php if(isset($_POST['submit'])) { $to = "email here"; $subject = "Email Subscription"; $mail = $_POST['mail']; $body = "E-Mail: $mail"; echo "Thank you for subscribing with You will be redirected to Home Page in 5 Seconds!"; mail($to, $subject, $body); } else { echo "blarg!"; } ?>
help..........
I've just tried it and it works fine both by hitting enter, and by clicking the button.
@ MrRSMan : dear you tried Contact form i was talking about the form on main page..
@ Medyman : i fixed that problem. anyway thanks...
Bookmarks