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.

General Questions /

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

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

Registration form and username already exists


Reply


3 Posts   1291 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 [url=http://doc.silverstripe.com/doku.php?id=dataobjectdecorator]DataObjectDecorator[/url]. 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!