SID-00026: How to use SEARCH function within a Form
| Status: |
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
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
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.