This question about Configuration: Answered

Hierarchical form fields

I'm setting up a form for my users to get a bunch of information documented and would like to structure it to both avoid errors, as well as to make it easy to categorize. There are ~30 different items, each of which has 10-50 different options under it in a kind of parent-child relationship, as the example below.

Item One
  • option 1
  • option 2
  • option 3
Item Two
  • option A
  • option B
  • option C
I'd like to use either a regular or HTML based form to have users create topics and once they select an field value from a dropdown list, be presented in the next form field only with the options relevant to its parent. Both items and their sub-options are fixed and don't require any free text input and would ideally be sourced from another wiki page to make their management easy by the non-technical staff. Having a two stage or multiple page form creation process would be fine but I need to make it very easy for the users to enter in the information in a structured way and limit the options they see and can select from.

Is this possible to do? I couldn't find any examples of this behavior specifically and the other search based field options seemed like they wouldn't work because they were static to the form when it was loaded and not based on the entry the user selected for a given field.

Thank you.
You might be able to combine TwistyPlugin and/or FormPlugin and/or URLs like;Extension=hi to prefill/save forms. Not sure you can stop all users from shooting themselves in the foot without your own extensions to DataForms .

-- JayenAshar - 09 Jan 2012

There's no built-in support for this, but it might be supported by one of the data handling plugins - TBH I don't know! Try exploring in Extensions web.

-- CrawfordCurrie - 19 Jan 2012


QuestionForm edit

Subject Configuration
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r3 - 19 Jan 2012, CrawfordCurrie - This page was cached on 13 May 2019 - 19:54.

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