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 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-19 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.