We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31338
    • 30 Posts
    Hi, i have a standard php form that you fill in it validates and warns if error otherwise sends, i have the php file uploaded to assest, andin the contact form it is referenced ok but when i click submit i just get a blank page, but i do get an email so something is working, it doesnt seem to error check.

    should i move the php script from the file and put it in to a snippet?

    im using Revolution 2.0


    thanks
      Use our Free Developers API and build SMS in to your customers website or store or application. http://www.VibeActiveMedia.com
      • 3749
      • 24,544 Posts
      Quote from: vbTrev at Sep 06, 2010, 03:48 PM

      should i move the php script from the file and put it in to a snippet?

      Yes. MODx (any version) won’t execute php code unless it is in a snippet or plugin.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting