Skip to content
Simple component for MODX Revolution, that allows you to send any form through ajax.
Branch: master
Clone or download
bezumkin Merge pull request #42 from kamuz/patch-1
Update chunk.example.tpl
Latest commit 0f9c730 Jul 25, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_build - [#40] Improved javascript initialization of a form. Jun 1, 2017
assets/components/ajaxform
core/components/ajaxform
.gitignore
README.md

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=`...`
]]
You can’t perform that action at this time.