View Full Version : Form Value Passed?
viviblue
04-08-2004, 07:37 PM
Hi there, i was thinking about trying to pass a form value which the user enters into another form field. (e.g Delivery address the same as Billing Address) Is this possible without cookies?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script>
function bla(d){
d.t1.value = d.t0.value
}
</script>
</head>
<body>
<form>
The text in the first text field will apear in the second<br>
<input name="t0" type="text" onkeyup="bla(this.form)" onblur="bla(this.form)"><br><br>
<input name="t1" type="text">
</form>
</body>
</html>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.