Tags:
create new tag
view all tags

Question

Hello community!

Is it possible to transmit multiple values via a html form into a TWikiForm? I've an application similar to the AskedQuestions topic, with which you are able to populate content. I'm also using a select box with multiple="on". After submitting the form, only the first item will be transmitted into defined field (type text).

I don't wanna transmit these information via URLPARAM and multiple="on" separator=", ". The same thing for TWikiForms would be great...

Is there a feature I don't know of?

Regards, Thomas

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search, Missing functionality

-- ThomasEsau - 23 Jan 2008

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.

Did you try defining the form field as select+multi? See TWikiForms for more information.

-- CrawfordCurrie - 26 Jan 2008

Yes. This is also not working. No value at all is being transmitted into this type of field via a html form.

I wanna be able to add later further values to that field for each topic. This is not possible with select+multi or select+value. That’s why I’m using a text (type) field.

Further ideas?

-- ThomasEsau - 28 Jan 2008

You can transmit multiple value into TWikiForm fields. Create an html form with all fields. The input field names need to match the TWikiForm field names. The html form action ppoints to the TWiki save script. It is not possible to transmit multiple input fields into one TWikiForm field.

Instead of a manually crafted html form you can define a custom CommentPlugin template, as has been done here in the Support web for the comment box. More at EngineRoom.

-- PeterThoeny - 02 Mar 2008

I was afraid that it's not possible. Thanks for reply.

-- ThomasEsau - 06 Mar 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-03-06 - ThomasEsau
 
  • 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.