JAVA Scripts


اقسام الجافا سكربت - Mine for JavaScript
تقويم الجافا - calendars آلات حاسبة - Calculators ازرار جافا - buttons مأثرات الخلفيات - Background Effects
شجرة المجلدات -Folder trees جافا حسابيه - Equivalents كوكيز - Cookies ساعات جافا - Clocks
رسائل الجافا - Messages جافا انشائية - Generators العاب جافا - games قوائم جافا - Forms
جافا باسوورد - Passwords بيانات الصفحات - Page Details جافا الملاحة - Navigation جافا متنوعة - Miscellaneous
شريط التمرير - Scrollers بيانات المستخدم - User Details - -



Home } Forms } Only One Field




The visitor must fill in either one of two fields, their name or email address. If they click in either box the other box's value is erased. Ensures that when the form is submitted only one field contains a value. Also contains validation that makes sure both fields are not empty.
Please enter your name or your email address.

Name   Email
Or...

JavaScript Source Code 3000: Forms: Only One Field

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!