The jquery.xforms.js XForms Plugin

PRELIMINARY INFORMATION - SUBJECT TO CHANGE

Release 2.1 - ...

This is the main XForms enrichment layer. It hooks into the browser and converts standard form posting to much more efficient ajax calls, passing just the form changes to the server and processing the resulting data in order to update just the user interface parts that have been affected by the action.

The plugin works just like any other jQuery plugin, with a selector method, xform().

Example

  CopyCode image Copy Code
$("form.xforms-form").xform({
   host: "xfwb10", 
   x_requestId: "d15cae895f584144a41db1b356a75a22", 
   meta: null, 
   dev: {
     name: "html5", 
     ver: "1.0", 
     tpl: "default"
   }
});

When working in Smartsite, using the XForms Smartlet will automatically output this call.

When launching the XForms Engine from ASP.NET, use the XFormsAspNetIntegrator class to abstract the call.

Topics