BoostN
Well-known member
I'm having a little bit of diffcuiltly capturing input from my custom field that sets inside the User Option entity. I'm looking at extending the
When I check the box and submit, it saves to the DB as empty. Any pointers or hints at what I need to do next?
XF\Pub\Controller\Register
class and I'm thinking I should do the following:
PHP:
<?php
namespace BoostN\SendySync\XF\Pub\Controller;
class Register extends XFCP_Register
{
protected function setupRegistration(array $input)
{
$input += $this->filter([
'option' => [
'my_colum' => 'bool'
]]);
return parent::setupRegistration($input);
}
}
When I check the box and submit, it saves to the DB as empty. Any pointers or hints at what I need to do next?