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:

Archive /

Our old forums are still available as a read-only archive.

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

Add a Member from a mixed form

Go to End



Community Member, 10 Posts

29 March 2008 at 12:24am

Hi to everyone,
I've a form that user can add a member with additional information. I want to add member on the member's table (using Member Class) and additional information using a customized class. Datas will be provided by a form and i don't know how to split data to save in different tables.

$fields = new FieldSet(
new TextField("FirstName",'Nome'),
new TextField("Surname",'Cognome'),
new EmailField("Email",'E-mail'),
new NumericField("Percentage","Percentuale")

i want add firstname,surname and email on the Member's table and Percentage on my table.

thanks you