Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

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.

All other Modules /

Discuss all other Modules here.

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

Email submission to limited to 50 characters?


Go to End


2 Posts   1419 Views

Avatar
LesC

Community Member, 70 Posts

8 July 2009 at 5:07am

Hi,

I've got a client who needs to have several email addresses sent the contents of submitted form. Unfortunately it appears that the EMail submission to field is limited to 50 characters:

http://silverstripe.org/archive/show/123663#post123663 (would have commented on that post, but it's archived).

Does anyone know of a way to get round this? I'm running SS 2.3.0 and userforms 0.1.0 - don't want to upgrade UserForms as I find it very buggy.

Cheers

Les

Avatar
UncleCheese

Forum Moderator, 4102 Posts

8 July 2009 at 5:32am

I would just decorate the object and set it to a different datatype.

class MyUserForm extends DataObjectDecorator
{
function extraStatics()
{
return array('db' => array('Email' => 'Text'));
}
}

DataObject::add_extension("UserDefinedForm","MyUserForm");