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
--
ThomasEsau - 23 Jan 2008
Answer
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