We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36420
    • 9 Posts
    Hi There

    I created a new page in modx manager section for my component, similar to add new user, and I want to use the tool bar to save the data entered by users (See attached image).

    First, how can I enable the button to save, second, how can I direct the form to go to the right processor.

    I hope someone can direct me to some kind of documentation to explain how to use the tool bar.

    Thanks in advance

    devteam@moon

    This question has been answered by crazysnake. See the first response.

    • discuss.answer
      • 36420
      • 9 Posts
      Alright

      I managed to make the tool bar save button actually do something, and that was due to the fact that I did not extend the panel as a form panel, then I found out that the page needs to have the object of the form panel.

      So I added the id field into the form panel config section and gave that id value into the page formpanel field inside the page config section.

      Now I have a problem with sending the data into the right process, which I'm working on it.

      devteam@moon
        • 36420
        • 9 Posts
        Ok this one is solved, I had to add the action into the process field of the button.

        process: 'mgr/post/create', text: _('save'), method: 'remote'


        Phew, next I have to get 10 hours resting my eyes and then look at the code again