Question
I would like to have a button that inserts some text in the topic when you press it and then removes itself so that you cannot insert the text again.
The scenario is as follows: I have a number of forms that describes improvement ideas from the first vague idea to the pinnacle of becoming a team that implements the idea. As time goes by the form associated with the topic changes and the next form in the chain is normally a superset of the previous form. This works very well and keeps the forms focussed on what is needed at a given point in time (e.g., you do not have a field called ActualFinish when the idea has just been submitted using the initial
IdeaForm;-)).
The problem is that there are some sections in the topic that does not need to be filled out until the idea has gone through some stages and right now I have add those sections to the first template in the chain. One of the sections is a project plan which is noise when you have just gotten a good idea.
I would like to have a button "Add sections for X stage" that inserts the sections for a given stage and then it disappears from the topic.
It is easy to use the
CommentPlugin to insert the sections in the document, but then the button stays there and you can continue to add those sections over and over again. I want to make it easy for people to participate in the improvement activities and that does not mean that they have to be TWiki gurus to understand the set-up.
Example scenario in details:
The IdeaForm only has two fields in the form and no madatory sections in the template. Next form in the chain is a CharterForm that adds a couple of fields to the form
and requires some sections (named BusinessCase, OpportunityStatement et cetera) to be filled out and they should look the same on all topic that uses the CharterForm since the section (since it is a
TWikiName) points to a help topic explaining what is required in the section.
Please let me know if I have to explain this in other words or greater detail.
Environment
--
TorbenHoffmann - 27 Aug 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.