Tags:
create new tag
view all tags

Question

I have defined a form which contains a select field. I also defined a form template.

I want the select options come from another topic, which seems working if the topic contains format

VALUE1, OPTION1, COMMENTS1 VALUE2, OPTION2, COMMENTS2

However it didnot work if I did a formattedsearch in the topic.

I am able to view the topic.

I found a link which talk about the form definition code, which I didnot know where to put.

Thanks

http://twiki.org/cgi-bin/view/Codev/DynamicFormOptionDefinitions

http://twiki.org/cgi-bin/view/Codev/DynamicFormOptionDefinitions

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: WIndows 2000
Web server: Apache
Perl version: 2.8
Client OS: WIndows 2000
Web Browser: IE6
Categories: Forms

-- PatrickWang - 23 Mar 2005

Answer

Read http://develop.twiki.org/~develop/cgi-bin/view/TWiki/TWikiForms, under "Defining Forms", which has been rewritten for the next release and should be clearer than the current documentation.

-- CrawfordCurrie - 18 Apr 2005

To answer you question directly, the current code does allow definition of form fields using searches. However, this capability has recently been provided with FormsAddOn.

-- LynnwoodBrown - 18 Apr 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-07-03 - SvenDowideit
 
  • 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.