We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22815
    • 1,097 Posts
    With eForm 1.3 now in the Repository, there is now a shiny new support thread.
    Please discuss eForm 1.3+ there.

    I’m going to keep this thread open for a while to discuss pre-1.3 issues, but in most cases you would be advised to upgrade to eForm 1.3.
      No, I don't know what OpenGeek's saying half the time either.
      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
      Forum: Where to post threads about add-ons | Forum Rules
      Like MODx? donate (and/or share your resources)
      Like me? See my Amazon wishlist
      MODx "Most Promising CMS" - so appropriate!
      • 33372
      • 1,611 Posts
      Quote from: ed at Sep 29, 2006, 02:38 AM

      San Quentin, I hate every inch of you!

      I have wasted the better part of a day dealing with idiotic issues with eForm. I write these comments in the hope that someone will take an interest and fix up the code to make it usable for people who don’t want to spend their time reading the source.

      First and foremost - documentation - the old joke that it was difficult to write, it should be difficult to use was not meant as universal guidance. eForm needs proper documentation, Susan’s recent tutorial is a good start but it includes the parser which makes it difficult to use in conjunction with older material.The source code comments and error messages need bringing up to date and the useful stuff from this forum needs to be in the main body of the documentation.

      Specific problems I encountered, &formid is now mandatory, if you omit it then you get the benefit of this piece of code
      if ($formid=="") return "Invalid Form Id number or name.";
      If you can’t see what is wrong with this then you have no business producing software for use by other people. The code that follows could indicate if an invalid formid was provided but doesn’t

      &format is now mandatory unless you want to use the parser, if you don’t provide it and omit parser placeholders you get a baffling runtime error as contained in this post http://modxcms.com/forums/index.php/topic,2122.msg48299.html#msg48299

      Finally and most importantly, practically every example of eform usage is incorrect, they all show the [[eForm? ]] (non-cacheing) usage when most times, especially if you use validation, you must use the cacheing form [!eForm? !] This should be lit up in neon at the start of the documentation

      The problem I had is that until I got all 3 right I could get no insight into what was wrong with my code. eForm also badly needs a debug mode.

      Ed

      Seems like a lot of people (including me) have been able to make eForm work with the documentation provided. It actually seemed rather "plug-and-play" to me, and I’ve now plugged it into six or seven forms of varying length and complication. Did you read the messages in this thread as part of the necessary documentation, or did you just download and install and try to go it alone?

      More and better documentation is always a good thing, and there are improvements to the code (which is a work-in-progress) that would be worthwhile, but the way this community operates is by collective participation, and bad vibes and nasty mojo are no help to that process or the general goal of building useful things.

      Now I’m going to re-read your comments and try to separate the helpful suggestions from the unhelpful tone...
        "Things are not what they appear to be; nor are they otherwise." - Buddha

        "Well, gee, Buddha - that wasn't very helpful..." - ZAP

        Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
        • 8439
        • 89 Posts
        Quote from: ZAP at Sep 29, 2006, 11:17 AM


        Seems like a lot of people (including me) have been able to make eForm work with the documentation provided. It actually seemed rather "plug-and-play" to me, and I’ve now plugged it into six or seven forms of varying length and complication. Did you read the messages in this thread as part of the necessary documentation, or did you just download and install and try to go it alone?

        More and better documentation is always a good thing, and there are improvements to the code (which is a work-in-progress) that would be worthwhile, but the way this community operates is by collective participation, and bad vibes and nasty mojo are no help to that process or the general goal of building useful things.

        Now I’m going to re-read your comments and try to separate the helpful suggestions from the unhelpful tone...

        I was not trying to adopt an unhelpful tone, bad vibes? nasty mojo? please! However if anyone took offence then be assured that that was not my intent.

        In fact I went to great lengths to provide as much new detail as possible. However eForm is in a state where much of the ’documentation’ is unhelpful or absent. Did I read the messages in this thread? yes 18 pages of them, do I enjoy making notes on 18 pages sorting out the wheat from the chaff? no I do not. There is a distinction between old messages which may not help with the latest version and newer messages which may not help with the older version. None of these messages addressed my 3 problems, &formid now being mandatory, &format now being mandatory unless you use the parser and [!eForm?!] being necessary in most practical circumstances. In that sense I made a contribution to the documentation.

        I reported 3 specific problems in great detail, these caused me to waste a great deal of time, I hope I saved others doing likewise.

        Ed
          • 8439
          • 89 Posts
          In the report form is there any way to get plain text reports. If I simply omit the html, will it do do what I expect?

          Ed
            • 22815
            • 1,097 Posts
            Ed: As a general rule, starting any comment with a sentence including the word "hate" is likely to be seen as aggressive. And don’t expect everyone to get the reference to Johnny Cash’s blind rage.

            I happen to broadly agree with your points, but if you can’t see what’s wrong with the way you phrased the comment, you shouldn’t be offering criticism.

            It’s not clear, are you talking about 1.3 or not?
              No, I don't know what OpenGeek's saying half the time either.
              MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
              Forum: Where to post threads about add-ons | Forum Rules
              Like MODx? donate (and/or share your resources)
              Like me? See my Amazon wishlist
              MODx "Most Promising CMS" - so appropriate!
              • 33372
              • 1,611 Posts
              Quote from: PaulGregory at Sep 29, 2006, 02:42 PM

              Ed: As a general rule, starting any comment with a sentence including the word "hate" is likely to be seen as aggressive. And don’t expect everyone to get the reference to Johnny Cash’s blind rage.

              And then continuing with "...dealing with idiotic issues with eForm...", "...if you can’t see what is wrong with this then you have no business producing software for use by other people...", etc. doesn’t really change the mood for the better. I’m a big Johnny Cash fan myself, and I personally find it a tad exaggerrated to compare a frustrating evening of debugging to losing years of your life to prison. But then some arguments are worth having, and some aren’t, and I’m getting to be old enough to know the difference.
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 31037
                • 358 Posts
                @Ed
                If you read the first post of this thread you get links to great starting posts that explain everything you ask for. Are you really sure you have read this thread?

                I’m a newbie MODx user, but I managed to get it to work. And when I had problems I asked in this forum, and I got very helpfull and quick response! Try asking in a polite way, and I’m sure they will help you in the same way they helped me.
                  • 29655
                  • 16 Posts
                  Wow!

                  I just have to say, Thank You TobyL! You’ve really put in a lot of effort here answering questions and your post has made implementing this snippet a breeze. Really, hats off to you for your efforts!

                  Thank you again.
                    • 8439
                    • 89 Posts
                    Quote from: PaulGregory at Sep 29, 2006, 02:42 PM

                    Ed: As a general rule, starting any comment with a sentence including the word "hate" is likely to be seen as aggressive. And don’t expect everyone to get the reference to Johnny Cash’s blind rage.

                    I happen to broadly agree with your points, but if you can’t see what’s wrong with the way you phrased the comment, you shouldn’t be offering criticism.

                    It’s not clear, are you talking about 1.3 or not?

                    Point taken, I wrote in some frustration having spent the better part of a day fixing problems that were not of my making, work which updated documentation or even comments could have avoided.

                    My comments should have been better phrased and I apologise for posting things which should have been edited out.

                    Am I talking about 1.3 or not? I’m using whatever was in rev1417, now rev1531 so 1.2 I guess. Perhaps I can atone for my ’bluntness’ by helping out with the eForm documentation, it’s a core feature and what documentation there is, is scattered about Susan’s website, various forum postings and source code comments. If the relevant person could PM me perhaps we could discuss how I can help out.

                    Ed
                      • 30223
                      • 1,010 Posts
                      You could start by dowloading 1.3 and read through it’s documentation and where you can improve it.

                      This discussion is closed to further replies. Keep calm and carry on.