src/Extensions/UserFormExtension.php
public function updateForm()
    {
        if ($userDefinedForm = $this->owner->getController()->data()) {
            
            if ($userDefinedForm->EnableSpamGuard) {
                $this->owner->enableSpamProtection();
            }
            
        }
    }
public function updateForm()
    {
        if ($userDefinedForm = $this->owner->getController()->data()) {
            
            if ($userDefinedForm->EnableSpamGuard) {
                $this->owner->enableSpamProtection();
            }
            
        }
    }
public function updateForm ( ) { if ( $ userDefinedForm = $ this -> owner -> getController ( ) -> data ( ) ) { if ( $ userDefinedForm -> EnableSpamGuard ) { $ this -> owner -> enableSpamProtection ( ) ; } } }
Updates the extended user form instance.

@return void
Updates the extended user form instance .