I have a form, which sends the result to an email, and in which you should be able to choose the recipient from a select. In the module settings, you may set it up so that the sender name and sender address are retrieved from the form – however this is not an option for the recipient address.
In the old module, the recipient address was stored in a hidden input field. I therefore made a javascript function, which basically took the value from my select and pasted it to that hidden field on blur. The field, however, is no longer available.
How would I go about this?