Musings of ErisDS
beta
ErisDS

Archive > Date > April, 2009

Place this line of code in the configure method of a Symfony form to allow the saving of additional fields.

1
2
3
4
5
6
<?php
  // lib/form/MyModelForm.class.php
  public function configure() {
    $this->validatorSchema->setOption('allow_extra_fields', true);
  }
?>

Last night this article hit the front page of Digg. Written by Thomas Hardy over at Web Designer Help, it’s a showcase on the top 30 web folk to follow on twitter, in which I was included. I had no idea that the article had been written or that I was in it, so imagine [...]

Following in the tradition of new beginnings that comes with the arrival of Spring, I’ve launched my blog. Please help yourself to a Pimms & Lemonade, find yourself a warm spot on my decking, and make yourself comfortable whilst I explain a little of what this blog is for.