Question
Form fields marked as hidden will not display when using formfield(Field) in a formatted search. This results from a check for the hidden attribute in TWiki::Form::FieldDefinition::renderForDisplay. I've hacked this check out as a stopgap measure, but it seems like there should be a better way.
Background:
I'm currently in the processing of attempting to work out the kinks in upgrading from 4.1.2 to 4.2.2. I had been using DBQUERY extensively, but it looked like
QuerySearch covered most of that functionality.
We have a set of topics that were at one time maintained in very many sheets in an excel file. In order to approximate the formatting used there, I made a table using a search, and marked the form fields as hidden. Now the problem is that the fields will not display in the header table, or in the list of topics, which pulls out several form fields from each topic for reference.
Environment
--
JustinLove - 15 Aug 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.
Right, I stumbled on this bug also (it breaks the
BlogAddOn). Note that a formal bug entry has been created for this at
TWikibug:Item5922 so I suggest we close this topic here and continue fixing this there.
--
ColasNahaboo - 15 Aug 2008