Hello,
I have a database (jos_user) including id, username, firstname, name, e-mail address.
I populate a dropdown list in a form by callingback the data firstname and name, meaning my dropdown display "Firstname Name" in its list?
I need to send an e-mail by clicking on submit with some {data} in the template to the user i select in the dropdown. It means i need from the dropdown selection get back the e-mail of the user i selecgted based on name and firstname .
Any idea how to to get back the e-mail from the database based on the choice in the dropdown to pass the e-mail address to populate the "Dynamic to" field ?
Thanks for your help.
Regards
I have a database (jos_user) including id, username, firstname, name, e-mail address.
I populate a dropdown list in a form by callingback the data firstname and name, meaning my dropdown display "Firstname Name" in its list?
I need to send an e-mail by clicking on submit with some {data} in the template to the user i select in the dropdown. It means i need from the dropdown selection get back the e-mail of the user i selecgted based on name and firstname .
Any idea how to to get back the e-mail from the database based on the choice in the dropdown to pass the e-mail address to populate the "Dynamic to" field ?
Thanks for your help.
Regards