I agree that Structured Data is one of the most powerful but underused features of Foswiki and applaud the effort to make the feature more prominent. That said, the there are many parts to data forms that are not easy to bring together.

I have started to deploy the page WebFormManagement to help me picture what is going on. Maybe that can be part of your documentation.

Forms activated: BasicForm, ChangeProposalForm, UserExperienceProjectForm

Forms present:
Searched: .*Form$

Page Type & Form Definition Empty Page content Decorated using View Template (& edit) List GridEdit
BasicForm BasicTemplate BasicViewTemplate (edit) BasicList (grid edit)
ChangeProposalForm ChangeProposalTemplate ChangeProposalViewTemplate (edit) ChangeProposalList (grid edit)
GSoCStudentApplicationForm GSoCStudentApplicationTemplate GSoCStudentApplicationViewTemplate (edit) GSoCStudentApplicationList (grid edit)
MoreAttractiveForm MoreAttractiveTemplate MoreAttractiveViewTemplate (edit) MoreAttractiveList (grid edit)
RequestAccessToGitForm RequestAccessToGitTemplate RequestAccessToGitViewTemplate (edit) RequestAccessToGitList (grid edit)
UserExperienceProjectForm UserExperienceProjectTemplate UserExperienceProjectViewTemplate (edit) UserExperienceProjectList (grid edit)
WysiwygForm WysiwygTemplate WysiwygViewTemplate (edit) WysiwygList (grid edit)
Number of topics: 7

For Grid Edit I use $percntCALC{$SUBSTITUTE($topic, Form,)}$percntGridEdit | that invokes Kenneth's MultiTopicSavePlugin to bulk edit all topics of each type.

-- MartinCleaver - 03 Feb 2010

Shouldn't this be called DataFormManagement? Web forms are different, using <form> tags.

-- ArthurClemens - 06 Mar 2010

Sorry I missed your answer.

Then it would pollute the users namespace.


-- MartinCleaver - 13 Mar 2010

I was just referring to what they are called: DataForms. But you are right, in WebPreferences the variable is called WEBFORMS.

-- ArthurClemens - 13 Mar 2010

Well WebPreferences is inconsistent... and I picked Web* because it's unlikely to clash with anything the user might write.

PS. I tried to find a hack to match only topics ending in Form and that contain the first line expected by a form

The following doesn't work:
  ".*Form$.*Tooltip \| Attributes \|$" 

Can any of you do better?

-- MartinCleaver - 13 Mar 2010
Topic revision: r9 - 17 Mar 2010, MartinCleaver - This page was cached on 24 Jan 2018 - 00:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License