I've made a form and when a user click a specific item in that list, the form should mail to that item.
How can I manage that?
Example:
The dropdown:
Januari
Februari
March
When you select March, the form should mail to info@march.com
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I've made a form and when a user click a specific item in that list, the form should mail to that item.
How can I manage that?
Example:
The dropdown:
Januari
Februari
March
When you select March, the form should mail to info@march.com
Is this using UserDefinedForms? If so then this is impossible. The only way you could do it is to store the emails in the dropdown. For example you would need your dropdown to have
info@march.com
info@feb.com
..
Then you can set the To field to be the value of that dropdown.
Yes, I've seen this future in the UserForms, but I think its rather strange to put your emails in a dropown... The user doesn't need to know which email he need to choose. He wan't only the names ...
Yep totally not the ideal solution but thats the best currently with the module.