Powered by InterCreatives | Site Map
Search:
NewSourceMedia Popular Tutorials: PHP Javascripts Web Hosting
SoftwareTutorials
CATEGORIES
Job Listings
 
Home / Javascripts / Productivaty

Telephon Check Box

Published by: Alexander McLean III


Introduction:

I ran accross this code when working on a registration product site. The goal is to save the user's time by not having them fill in the same telephone number over and over, if the number is the same as other data fields.

You can view a working form by clicking here.

Source Code


<html>
<head>
<title>NSM | Tele Check Box</title>
</head>
<body>
<form>
Home Telephone:
<input name="home_phone" type="text" size="14" maxlength="12">
<br>
Work Telephone:
<input name="work_phone" type="text" size="14" maxlength="12">
<input type="checkbox" name="same_mail" onClick="work_phone.value=(this.checked)?home_phone.value:''">
(check if same as home number)
</form>
</body>
</html>


Next Javascripts Page:
1  2  3  [4]  5  6  7  8  9  10  11  12 





Hosting by iPowerWeb.com - 50 Gb for $7.95