Brandy
|
| Posted: 06/10/2003, 2:07 PM |
|
I have set up a Custodian request Website for our intranet. By default when a user submits a request the head custodian get an e-mail. It is then their job to assign it to another custodian to be done. I have created a list box with the 5 available custodians that can be given a request. When a request is assigned, i want the custodian to receive an e-mail that they have been assigned a request. So i created a hidden field for the e-mail address. Problem is i can' figure out how-when i change the value of the list box, how can i make it pull the person's e-mail address to put in the hidden field.
Both fields(custreq_assignto;custreq_email). They are linked by an ID.
This is what i want to to do:
On list box change, change value of hidden email field to = the username that is in the listbox, but put the e-mail instead of username.
Does this make sense?
Thanks for any help!
|
|
|
 |
rclayh
|
| Posted: 06/10/2003, 2:57 PM |
|
You didn't post whether you're using CCS or CC and what language but it doesn't matter because the easiest way to do what you're talking about is to use Javascript to hook into the onChange event of the dropdown and have it change the value of the hidden field. I don't have a sample script you could work with but maybe someone else will post one.
|
|
|
 |
|