We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows Server 2003
Web server: Apache 2.2
Perl version: ActiveState? , perl 5.8.6
Client OS:  
Web Browser:  
Categories: Forms, Search

-- JustinLove - 15 Aug 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r3 - 19 Aug 2008 - 06:57:17 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback