'''Short description''' Form Editing of Structured Data ## Tell your story here. ## What is the problem you are trying to solve? ## Is this features useful to most users or just to specific users? I want to put up structured database records that people can edit. In my particular case, it's aviation data to supplement or replace the Digital Aeronautical Flight Information File (see http://navaid.com/dafif.html). Doing a simple database editing form is easy, but I'd like to leverage the trust and history rollback ability of a wiki. I don't know if this possible, and I don't know if anybody else could use it. ---- = Wiki Form Feature = Twiki has such a feature: Wiki Forms, which makes TWiki as an enterprise level wiki. Reference: http://twiki.org/cgi-bin/view/TWiki/TWikiForms == FormCreate and FormSubmit == There are two interesting plugins can do form editing, handle form data. * MacroMarket/FormCreate * ActionMarket/FormSubmit But lack some feature, which TWiki forms have. If the following features implemented, 80% of twiki's form features moin will have. == Parser: FormData == === Define a FormData filed in page === If a page contains a FormData data. {{{{ {{{#!FormData form_define_page=FormDefinePageName field1; data 1 field2; "data 2 continue ..." field3; data 3 }}} }}}} === Display of the FormData page === If user has edit permission for the page, show an editable form. If user has no edit permission, display a read-only form table. The form action is a pre-defined action, and from defination comes from {{{}}}. Submit of the form will change data of the FormData filed in the page. == Macro: FormSearch == === Add a FormSearch macro in page === {{{ Search data in pages which have certain FormData. <> }}} === Display of the FormSearch macro === Display a search form against a from defined in {{{}}}. The pages contain the structure data which is matched will display as the search result. -- JiangXin <> ---- CategoryFeatureRequest