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.

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   2006 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!