We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38426
    • 5 Posts
    Has anyone ever used ValidForm Builder with MODx?

    Im trying to get it to work on my site but everything seems to work except the actual sending/emailing of the form.

    I created a snippet with the code to generate the form, called that snippet in my page and I can see the form on the page. I can fill it out and click on submit but nothing ever gets sent and it just sends me back to my home page, which it should display a message after the form is sent.

    I know I could use FormIt but Im not yet familiar with it and havent figured all of it out yet to create all the fields I need. Im working on it though since its a native component of MODx. Ive used ValidForm for a while now and its normally a really easy form maker to use and has tons of options and flexibility.

    I know the snippet has to have a return in it. So where the form is normally called and generated on the page using

    <?php echo $strOutput; ?>
    


    In the snippet on the last line I put

    return $strOutput;
    


    But I think something is getting goofed, but Im just not sure and not knowledgeable of php enough to be able to isolate it.

    If anyone has any thoughts or ideas I would love to get some input. Thanks.
      • 38426
      • 5 Posts
      I guess I should add that I am using MODx Revolution 2.2