JaXnPriVate
New Pleskian
- Server operating system version
- Ubuntu
- Plesk version and microupdate number
- 18.0.49
I implemented a simple Form (Copy and Pasted it from both Documentation Pages),
but both returned an Internal Error for me.
Do I have to give my method a certain name?
but both returned an Internal Error for me.
Do I have to give my method a certain name?
PHP:
public function formAction(){
$this->registerTabs();
$formIO = DomainHandler::createAddForm();
// Assign Form to View.
$this->view->settings = $formIO;
// Check for Form Submit.
if ($this->getRequest()->isPost()) {
// Proccess/save value here
$this->_status->addInfo('Data was successfully saved.');
//$this->_helper->json(['redirect' => pm_Context::getBaseUrl()]);
}
}