Hi everyone.
I have a form that's used by a group of employees to send out an email to people.
In the form I have a textarea where the body of the message goes and I also have a Combo Box with some pre-set values that come from the database for that particular company. ( company name, company ID, Some specific dates, etc.)
Whenever somebody selects Company Name from the combo box the company name gets inserted at the end of the textarea.
If they select Contact Person then the name of a person gets inserted at the end of textarea.
This is working with no problems. Now my question is ...
If I have a message already in the textarea and move the cursor to someplace in the middle of the message how can I insert the value from the combobox in the middle of the lines?
hope this makes sense. I'll try to get a stripped version of my page and post it later.
in the meantime thanks for any help.
grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
I have a form that's used by a group of employees to send out an email to people.
In the form I have a textarea where the body of the message goes and I also have a Combo Box with some pre-set values that come from the database for that particular company. ( company name, company ID, Some specific dates, etc.)
Whenever somebody selects Company Name from the combo box the company name gets inserted at the end of the textarea.
If they select Contact Person then the name of a person gets inserted at the end of textarea.
This is working with no problems. Now my question is ...
If I have a message already in the textarea and move the cursor to someplace in the middle of the message how can I insert the value from the combobox in the middle of the lines?
hope this makes sense. I'll try to get a stripped version of my page and post it later.
in the meantime thanks for any help.
grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein