How to have the recipients in the theme options
-
Hi there,
I would like to add a select to the form, such as
<select id=”department”>
<option val=”d1″>Department 1</option>
<option val=”d2″>Department 2</option>
</select>And having in the theme options:
d1 : [email protected]
d2: [email protected]How could I do to check the value of the subbmited select, check the value on theme options ( of_get_option(‘d1’) or ‘d2’ ) and set that email as the recipient of current submission?
Thanks!
- The topic ‘How to have the recipients in the theme options’ is closed to new replies.