10394 Posts in 2203 Topics by 1714 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 301 Views |
-
Customizing the Userforms Email

23 August 2011 at 12:54pm
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!
-
Re: Customizing the Userforms Email

23 August 2011 at 8:02pm
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.
| 301 Views | ||
|
Page:
1
|
Go to Top |


