Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 1.32 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.32 KB
⚠️ On June 13, 2023, MODX RSC will end support for AjaxForm. It will still be available on modstore.pro and extras.modx.com marketplaces, but we recommend using FetchIt.
⚠️ 13 июня 2023 года команда MODX RSC прекратила поддержку AjaxForm. Он будет продолжать быть доступным на маркетплейсах modstore.pro и extras.modx.com, но мы рекомендуем использовать вместо него компонент FetchIt.

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=`[email protected]`
	&etc=`...`
]]