Tags:
create new tag
view all tags

SID-00026: How to use SEARCH function within a Form

Status: Answered Answered TWiki version: 4.2.3 Perl version:
Category: CategoryForms Server OS: Last update: 17 years ago

Hey everybody,

I'm doing a form using the following structure

Name Type Size Values TooltipMessage Attributes
X Select 5 SEARCH    

The problem is that when I introduce the search in the table, the form doesn't accept it.

Is there any restriction for using a search function? If there is, does anybody have an idea of how to approach the situation?

Note: I'm a begginer at this, and have no experience in programming... so I would really appreciate an explanation as clear as possible

-- JoseDavila - 12 Jan 2009

Discussion and Answer

Make sure that the SEARCH produces the proper format, e.g. a comma-space delimited list without newlines. Specify a separator=", " to do that.

Example taken from SupportForm:

%SEARCH{ "INCLUDE\{.*SupportCategoryBody" type="regex" excludetopic="SupportCategoryTemplate" nonoise="on" format="$topic" separator=", " }%

-- PeterThoeny - 12 Jan 2009

      Change status to:
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.
SupportForm
Status Answered
Title How to use SEARCH function within a Form
SupportCategory CategoryForms
TWiki version 4.2.3
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-01-12 - 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.