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

    I'm a bit stumped here.

    I have mxFormBuilder installed and set up. Everything is working (creating forms, adding fields, putting them on pages with the TVs...etc) with one exception.

    The forms don't do anything.

    I have a variety of forms setup. I've added a few fields, added the submit button and when you click "submit" the form just resets. Nothing is submitted.

    I made sure that the only button I have is a "submit" button. But no matter what, nothing submits. It just resets the form.

    I'm completely stumped.

    Is there a setting somewhere that I've missed to enable the actual processing of forms? Is there something else I need to configure (manually) after the Package installs?

    I'm happy to provide code samples if that would help.

    Really like the package and the ease of building and applying forms, but I can't get it to actually send/submit a form.

    Thanks!

    -Justin

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

    [ed. note: charless last edited this post 10 years, 1 month ago.]
    • discuss.answer
      Can you take a screen shot of all the fields in the form for me from the grid. Then if possible the form as rendered as well. A big help would be if its on a public URL I can take a look at the actual output to help identify the issue.

      Also, you should make sure the snippet is not called cached. Please make sure that the "!" is after the opening brackets.

      [[!mxfb? ]]


      Cheers
        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 49547
        • 7 Posts
        Hi,

        I had the same problem and it was really easy to correct with your answer :
        [[!mxfb? ]]


        I made a mistake because close to the name of the form we can read this :
        [[mxfb?&formid=`1`]]

        It is useful but incorrect as you say without a " ! ".

        The right answer is :
        [[!mxfb?&formid=`1`]]


        May be you could change it ; )

        Thanks.


        • There are a couple gotcha ones:

          1. Make sure you have the non-cached call [[!mxfb?]]
          2. If you have a field with the basic spam validation make sure it's not required
          3. Set a success message or redirect

          If you have verified all those you can send me a screen capture of the field grid.

          Cheers
            Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
            Visit CharlesMx.com for latest news and status updates.
            • 49547
            • 7 Posts
            Thanks, don't worry it works.
            But glad to learn that we must not require the basic spam validation field.

            By the way the only trouble is that I can't select a resource to redirect (button checked). It keeps searching without finding the resources.
            • Can you check the error log in manager and also if possible use Dev tools on browser and send me the network post and respond that fires when you click on the drop down for resources.

              Cheers
                Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                Visit CharlesMx.com for latest news and status updates.
                • 49547
                • 7 Posts
                Error Log :
                One error. I've deleted a ressource. And Modx told me that he could not find it.
                But after emptying the error log and trying again to add a redirect no more errors.

                Network post when I click on Success redirect :
                404 POST index.php

                Network response :
                <html><head>
                <title>404 Not Found</title>
                </head><body>
                <h1>Not Found</h1>
                <p>The requested URL /connectors/resource/index.php was not found on this server.</p>
                <hr>
                <address>Apache Server at demo.xxx.com Port 80</address>
                </body></html>



                Same problem to add a owner :
                404 POST user.php

                Network response:
                <html><head>
                <title>404 Not Found</title>
                </head><body>
                <h1>Not Found</h1>
                <p>The requested URL /connectors/security/user.php was not found on this server.</p>
                <hr>
                <address>Apache Server at demo.xxx.com Port 80</address>
                </body></html>
                • what version of Modx are you on?
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.
                    • 49547
                    • 7 Posts
                    MODX Revolution 2.3.2-pl (traditional)
                      • 49547
                      • 7 Posts
                      Ok.
                      On Modx Extra it says "Requires Revolution 2.2.x or greater"
                      It seems like it does not work completely on v2.3.
                      Any upgrade soon ?