Tags:
create new tag
view all tags

Question

I'm using HTML input controls to create a user feedback form. So far I have not had much trouble in creating the form and having TWiki compile the responses in a table (I used the code for the PluginAppraisal survey as an example). However, I cannot get it to display more than one response when I have a question where the user can select muliple checkboxes - that is, if you had checkboxes for dogs, cats, and fish, and the user selects dogs and cats, it will only display dogs, the first response. I've tried several different approaches but nothing seems to work. Can TWiki only process a single value for each input name?

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms

-- PhilGochenour - 02 Oct 2006

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.

I discovered that using the

<select multiple="multiple">
HTML tag in conjunction with the %URLPARAM{"Other_Webs" multiple="on" separator=", "}% variable solves the problem.

-- PhilGochenour - 04 Oct 2006

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-10-04 - PhilGochenour
 
  • 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.