tag, this is correct for implementing a FW form functionalities * to fields and sections that are injected into already existing WHMCS forms. * * @autor ThurData */ class FormIntegration extends BaseStandaloneForm { protected $id = 'formIntegration'; protected $name = 'formIntegration'; //do not overwrite this function protected function preInitContent() { $this->setSubmit(null); $formAction = new Hidden('mgformtype'); $formAction->setDefaultValue(FormConstants::UPDATE); $this->addField($formAction); $formAction = new Hidden('ajax'); $formAction->setDefaultValue(1); $this->addField($formAction); } }