jqAjaxForm
will
be ajaxified using its HTML5 data attributes to parametrize it.
Name | Description | Default |
---|---|---|
data-block |
boolean flag whether to block the UI as long as the form is being processed by the backend | true |
data-dialog |
may be "destroy" or "close" | |
data-message |
message to be displayed while the UI is being blocked | |
data-recirect |
target to redirect the browser on success, see below for more information | |
data-reload |
boolean flag to enable page reloading, see more on redirect below | false |
{result: { ..., redirect: "...", ...} ...}
or
&jt;input name="redirect" value="..." >
element or
data-redirect
HTML5 attribute or
data-reload
boolean parameter
jqAjaxForm
will receive events that third party scripts might listen to in order to participate on the form being processed:
beforeSerialize
: called before the form data is serialized
beforeSubmit
: called before the form is submitted
uploadProgress
: called when uploading of data
error
: called when the backend returned an error
success
: called when the backend returned successfully
complete
: called when the form has been fully processed
cd /path/to/foswiki perl tools/extension_installer <NameOfExtension> installIf you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.
19 Nov 2024 | added data-dialog parameter |
22 Jan 2024 | block submitting the form when it is not valid; added javascript callbacks for beforeSubmit , uploadProgress , error , success and complete events |
04 May 2022 | fixed name of jquery module; make callback handlers of ajaxForm available in AjaxForm class; export AjaxForm in global namespace |
14 Oct 2020 | initial release |
Author | Michael Daum |
Version | 1.50 |
Release | 13 Jan 2025 |
Description | Ajaxify html forms |
Repository | https://github.com/foswiki/JQAjaxFormContrib |
Copyright | 2020-2025, Michael Daum, All Rights Reserved |
License | GPL (GNU General Public License) |
Home | http://foswiki.org/Extensions/JQAjaxFormContrib |
Support | http://foswiki.org/Support/JQAjaxFormContrib |
![]() |
© 2025 D.Soost & D.Marxsen - All rights reserved © Of all articles by authors Trademarks are the property of their respective owners © Logo by Wikipedia, modified by Administrator | Impressum Disclaimer Datenschutzerklärung |