heggsta

bear in mind, that'll show the form and allow the submission... what happens from there, I can't remember!

😜 (1)
heggsta

OK, from what I remember (sorry, trashed the code that I had)... I think I added (to Product.php) something like:

  1. public function getAddForm()
  2. {
  3. $controller = ModelAsController::controller_for($this);
  4. return $controller->Form();
  5. }
👍 (1)