Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Dropdown = Email Recipient

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 801 Views
  • Stijn
    Avatar
    Community Member
    46 Posts

    Dropdown = Email Recipient Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Dropdown = Email Recipient Link to this post

    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.

  • Stijn
    Avatar
    Community Member
    46 Posts

    Re: Dropdown = Email Recipient Link to this post

    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 ...

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Dropdown = Email Recipient Link to this post

    Yep totally not the ideal solution but thats the best currently with the module.

    801 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.