Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Add a Member from a mixed form

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

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

Page: 1
Go to End
Author Topic: 733 Views
  • TuTToWeB
    Avatar
    Community Member
    10 Posts

    Add a Member from a mixed form Link to this post

    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

    733 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.