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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Registration form and username already exists


Go to End


3 Posts   1639 Views

Avatar
Terminator4

Community Member, 81 Posts

28 January 2009 at 3:47am

Hey guys,
How do I create a custom registration form that will add the additional fields into SS (and use the Security Groups table)?
Also do a check to see if a username already exists?

Thanks

Avatar
Hamish

Community Member, 712 Posts

28 January 2009 at 9:24am

With a DataObjectDecorator. The forum has a good example of this too if you want to see how it's down.

Avatar
Terminator4

Community Member, 81 Posts

28 January 2009 at 9:33am

Okay. Thanks! I see there is this extraDBFields() class which is obviously the way base objects are being extended. I understand now how the ecommerce module works when a form is being used. Thanks again!