1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved How to use new FormAPI?

Discussion in 'Help' started by azk_, Sep 9, 2018.

  1. azk_

    azk_ Spider Jockey

    Messages:
    49
    How can i use updated formapi plugin?
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    The old way still works, but now you can instead use
    PHP:
    $form = new CustomForm($function);
    instead of
    PHP:
    $form $this->getServer()->getPluginManager()->getPlugin("FormAPI")->createCustomForm($function);
    .
     
    azk_ and OnTheVerge like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.