Simple component for MODX Revolution, that allows you to send any form through ajax.
PHP JavaScript Smarty CSS
Latest commit 5990721 Nov 3, 2016 @bezumkin - Updated jGrowl to version 1.4.5.
Version 1.1.8-pl

README.md

AjaxForm

Simple component for MODX Revolution, that allows you to send any form through ajax.

Quick start

  1. Create new chunk with name "myForm".
  2. Add form with class="ajax_form" into that chunk.
  3. Call AjaxForm at any page
[[!AjaxForm?form=`myForm`&snippet=`FormIt`]]

You can specify any parameters for end snippet:

[[!AjaxForm?
    &form=`myForm`
    &snippet=`FormIt`
    &hooks=`email`
    &emailTo=`info@mysite.com`
    &etc=`...`
]]