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.
- option 1
- option 2
- option 3
- 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.
You might be able to combine TwistyPlugin
and/or URLs like http://foswiki.org/bin/edit/Support/Question994?action=form;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
- 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.
- 19 Jan 2012
| Subject || Configuration |
| Extension || |
| Version || Foswiki 1.1.3 |
| Status || Answered |
| Related Topics || |