hi im kind new to codes and im starting get confused ,
how can i get the option selected and send at end of message of form on that code?
example:
if option selected is "<OPTION value="grm@test.com" >test Card</OPTION>" this fomr will send a email to that value ,but i want but put at end of "menssage_txt" or at end of email that a text like this "option selected was test card".
Code:
... <tr>
<td colspan="2">Select the area:
<select name="dSac[emailto_txt]">
<option>----------------- </option>
<OPTION value="sac@test.com" selected>SAC</OPTION>
<OPTION value="grm@test.com" >test Card</OPTION>
<OPTION value="compras@test.com" >Comercial</OPTION>
<OPTION value="diretoria@test.com" >Diretoria</OPTION>
<OPTION value="financeiro@test.comr" >Financeiro</OPTION>
<OPTION value="informatica@test.com" >Informática</OPTION>
<OPTION value="vania@test.com, marcel@test.com, Jordan@test.com" >Jurídico</OPTION>
<OPTION value="marketing@test.com" >Marketing</OPTION>
<OPTION value="dp@test.com" >RH</OPTION>
</select></td>
</tr>
<tr>
<td colspan="2">leave a text here.</td>
</tr>
<tr>
<td colspan="2"><textarea name="dSac[menssage_txt]" cols="75" rows="5" wrap="off"></textarea></td>
</tr>
<tr>
<td width="80"> </td>
<td><input type="Submit" value=" Enviar " /></td>
</tr>
</table>
</form>
...