Tags:
create new tag
, view all tags

Question

I have defined a form and have attached it to a number of pages. Now I want to print out table of data from the form fields all pages that use the form. Basically I'm trying to use formatted serach by form name.

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- KentMitchell - 14 May 2006

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.

Check out SearchPatternCookbook - Pattern 7 to learn about how to search for form values. The variation on those ideas that I think applies to your example is looking for all incidences of a particular form. For this, you would use a search pattern like this:

[F]ORM.*name\=.*[M]yFormName

Hope this helps! Please feel free to ask if you need further clarification.

-- LynnwoodBrown - 15 May 2006

Ah! Sorry I should have been smarter than this. I read the example but didn't realize I could check for a form that way. I guess it wasn't clear what all this tihing I could use the the reg-ex were.

-- KentMitchell - 15 May 2006

 
Topic revision: r4 - 2006-05-15 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.