Question
Hi, I want a modified implementation of the
%COMMENT{type="supportquery"}%
on my TWiki installation. I copied the following from
UserCommentsTemplate to my UserCommentsTemplate
%TMPL:DEF{PROMPT:supportquery}%%TMPL:P{promptbox}%Change status to: <select %DISABLED% name="SupportStatus">
<option %IF{"'%FORMFIELD{SupportStatus}%'='AskedQuestions'" then="selected='selected'"}%>AskedQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='AssignedQuestions'" then="selected='selected'"}%>AssignedQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='AnsweredQuestions'" then="selected='selected'"}%>AnsweredQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='ClosedUnanswered'" then="selected='selected'"}%>ClosedUnanswered</option>
</select>%TMPL:END%
%TMPL:DEF{OUTPUT:supportquery}%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
Now when I put the line
%COMMENT{type="supportquery"}%
in a page of my TWiki, change the status (to say 'AssignedQuestions') and click 'Add Comment', the status changes back to 'AskedQuestions'.
Where am I going wrong ?
Environment
--
ChengappaCB - 24 Feb 2008
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.
I guess you missed to copy and activate the WebForm form as well. It consists of just one field SupportStatus. This is where the support query comment persistently stores your selection!
--
HaraldJoerg - 24 Feb 2008
That is right ! Now it is working. Thank you very much !
--
ChengappaCB - 25 Feb 2008