We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25586
    • 105 Posts
    Oke I found the solution thanks to http://forums.modx.com/thread/71441/solved-custom-formit-hook#dis-post-398625 thread!

    Original post:
    With a million thanks to SimpleCart developer Bert Oost for his advice, this problem is resolved. In case someone else runs into this issue in the future, here was the problem (which I would have never found).

    When creating a Formit hook that calls a custom class, there is an issue with the model path used in your component matching up with Formits.

    Essentially, (as Bert explained it) if the name matches, Formit will use it's own model path as opposed to your scripts model path. So simply changing it to "modelsPath" fixed the issue.

    Again, my sincerest thanks to Bert Oost for his advice in this situation.

    -Jared
      • 38829
      • 1 Posts
      I would not call it a "solution"... This is a "stub", and what will be the true solution?