Question
I am new to TWiki and am trying to use forms to build a "status report" repository.
I am using the "Item
ToDo" example in the test area.
As part of this I have created
- A form that has a field "WorkWeek" that can have values like WW26, WW27 etc..
- A "form template" for creating new entries.
- A topic that displays some information and calls the above "form template" to create a new status report.
After I have done the above, I can create "status report" topics with the appropriate values for the form fields
Now I would like to be able to categorize the data using the workweek number used when creating a new status report.
I know that I can use the variable to embed search information but
I would prefer the user to enter this information and search for all topics which have their fields set to this input value.
The difference between the above two options is that the first option seems to require a fixed value where as the second option can accept a dynamic input. At other places, it seems that we can call the "search.pl" TWiki executables with the input value specified in a text box.
An analog with the "Support" website would be, "Can you present the user with a selector with values
AskedQuestions,
AssignedQuestions etc., and when he presses a "search" button, it returns all the topics which have the input status".
Is it possible to do it? If so, how should it be done.
Thanks,
- TWiki version: 01 Dec 2001
- Web server: Apache
- Server OS: Linux
- Web browser: IE5
- Client OS: Windows NT
--
RamKoganti - 08 Jul 2002
Answer
I found an examples of doing this in
QueryByExampleSearch
I am repeating the form here. Apparently, the key is to use META.*Field_Name.*Field_Value"
--
RamKoganti - 10 Jul 2002
See also related
EditControlsBasedOnFormDefinition.
--
PeterThoeny - 12 Jul 2002