Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Customizing the Userforms Email

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 446 Views
  • juneallison
    Avatar
    Community Member
    108 Posts

    Customizing the Userforms Email Link to this post

    Hi,

    I just had a couple questions about customizing the userforms email.

    1. If a user don't fill in a field, is it possible to leave that label/field out of the email?
    2. I'm getting something like "EditableLiteralField25" in the email. I think these are the text/html fields I have between form fields. Is there a way to prevent these from showing in the email?

    Any help would be great. Thanks!

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Customizing the Userforms Email Link to this post

    If you want to hide EditableLiteralFields (which I think they should be) simply override showInReports() in /userforms/code/editor/EditableLiteralFields.php like

    function showInReports() {
    return false;
    }

    I've created a feature request to track this - http://open.silverstripe.org/ticket/6704. Would be nice to have the option in the module.

  • juneallison
    Avatar
    Community Member
    108 Posts

    Re: Customizing the Userforms Email Link to this post

    thanks Willr!

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