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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1212 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");