We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20914
    • 0 Posts
    .. for testing reasons, can any1 help please?
    thank you in advance!
    burn
      moddex is cool
      • 20914
      • 0 Posts
      sry, i’m quadriplegic, typing is diff..

      i wonder where "the switch" is to temp. shut off validation (in order to test contact form w/o having to fill in all of the fields everytime)

      many thx in advance,
      burn
        moddex is cool
        • 20914
        • 0 Posts
        eform validation suppression question, nobodyion?
          moddex is cool
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Just put 0 instead of 1 in all of the field eform attributes.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 20914
            • 0 Posts
            i know that and’ve tried that and it seems ok, but..
            no prob if left empty, however, as soon as i put ’me@localhost’ in the email form field (in order to test local mail) it throws an error expecting an ending (me@localhost.com)
            so i really wonder how to ’circumvent’ validation altogether..
            thank you for caring smiley
              moddex is cool
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              If you have that field’s attribute set as :email: it will validate it. Either leave it blank eform="Email::0" or put :text: for the type; it will use text by default if you leave it blank. You could create a custom function in a snippet and use return false to abort processing, but that would be a lot more trouble.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 20914
                • 0 Posts
                Quote from: sottwell at Aug 01, 2011, 01:10 PM

                If you have that field’s attribute set as :email: it will validate it. Either leave it blank eform="Email::0" ...

                that did the trick for me, thank you for your insightful advice!

                Quote from: sottwell at Aug 01, 2011, 01:10 PM

                ... but that would be a lot more trouble.

                i guess so undecided

                (how to mark issue solved? smiley) edit = i didn’t ask that question, ok!? laugh
                  moddex is cool