First attempt to create a system to automate and manage webforms
It based on two template:
Template:XsysPrEdit allow to create webforms you have different type (html input, checkbox, jqdate, drop-down relate to other mindtouch pages), see the template for docs, data is saved to page properties using ajax call
Template:XsysPrView allow to extract properties from a page or pages and return as string.serialized array or display in different layout, single vertical, table, list
In order to enhance speed an performance I added two scripts to cache XsysPrView returned datta
Template:XsysPrStore allow to use the very useful extension webcache.store to save rendered data, the cache is temporary but you can set ttl very hight (like 1 day) - XsysPrSave add now a get parameters (ispredit=true) when redirect after saved or update a new forma. If you intercept this parameter you can regenerate the cache with XsysPrCache
Template:XsysPrCache - The script save a cache map object (returned from XsysPrView with the otpion cacheenabled=true) in a page property - Tis solution is OBSOLETE if compared with XsysPrStore because only authenticated user can save properties to pages.
Now you must create another template to manage options and create the form. See a working example Apps - AddressBook
Changelog:
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by