I think you need to change the line
<form name=form onSubmit="return checkFields();">
<form name="form" onSubmit="return checkFields();" action="mailto:firstname.lastname@example.org">
This will display a warning box to the user, then send the email using their mail client. Alternatively, find out if you can get a server-side script to submit the email from your website host.
Hope this helps
Thanks Adam for replying. Your last comment is I think what I need. Where can I get the script? I would prefer the customer to write message in a form and send directly from the form, not open up default email.
It depends on what languages you have available on your server, such as PHP, ASP or Perl. Find out which server-side languages your host supports, then search for a "form-to-mail" script in that language.
Thanks Adam. I have PHP. I will see what I can do.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)