Out of curiosity should the folloing work (in a form action)?
if($member = Member::currentUser()) {
$form->saveInto($member);
$member->write();
}
After submiting a basic form with new TextField("FirstName", "First name", $member->FirstName)
Or do I have to go
$member->FirstName = $data->FirstName;
$member->write();