Setting a form field value
Posted on 2004-10-05
Pull Query from Database of all user contacts
<input name="To" type="text" value="">
<select name="addresses" size="10" onChange="this.form.To.value= this.value;">
<loop all records from query above>
As you can see it is a very simple procedure. What I need to do is be able to select multiple email addresses and have them append to the form field so the user can send an email to multiple people at one time. After the first email address, is suppose to be a comma to seperate the different addresses. The way I have it, the field will only display 1 email addresss.
Also I want to be able to set focus on the next form field "CC", and do the same, enter multiple addresses from the same <select> address list. Also, if it isnt to much, possibly add a small image arrow.gif next to each text field as it is selected to enter the addresses. Thanks So So much For Your Time... Joe