hi
lets say i have this form:
what i want to do is have a selection from 'tst' trigger an input into 'choose' from the data inputted into the 'fname' and 'lname' fields.Code:<html> <body> <form name="x"> <table> <tr><td> First name: <input name="fname"> <tr><td> Last name: <input name="lname"> <tr><td> Choose: <select name="tst" id="tst"> <option value="0"># M</option> <option value="1" >1</option> <option value="2" >2</option> </select> <tr><td> Your Selection: <input name="choose"> </table> </body> </html>
for example, i want option '1', when selected to draw the input from 'fname' and place it into 'choose'
or i might want to select the data in 'lname' instead, so i will tie option 2 to it, so when the user selects option 2 the contents of 'lname' go into 'choose' instead.
i hope this isnt too tricky. the simplest way to do it the better; html, java, etc.


Reply With Quote



Bookmarks