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

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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-05-15 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.