Hi there,
I have got a simple form and i want to email the form details to an email address. I have used the mailto function to send the details but it it not very secure. How can i send my details more securely and is there a better language i can use or a file i need to have installed on my machine. I am using html and javascript. Please see code below.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Form</title>
<script language="JavaScript" type="text/javascript">
function Validate_form(){
valid = true;
if(document.form1.fname.va
lue==""){
alert("Please enter your 'First Name'")
valid = false;
}
if(document.form1.lname.va
lue==""){
alert("Please enter your 'Last Name'")
valid = false;
}
return valid;
}
</script>
</head>
<body>
<form name="form1" method="Post" action="mailto:bob213@hotm
ail.com" enctype="text/plain" >
FirstName: <input type="text" name="fname" value=""><br>
LastName: <input type="text" name="lname" value=""><br>
<p><input type="submit" name="send" value="Sumbit"></p>
</form>
</body>
</html>
Start Free Trial