cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Topic Markup Language and applications: Answered

Best practice for RENDERFORM

I use
<span>%RENDERFORM{"MyForm"}%</span>
macro to generate new topics.

One of the data form items is a feature list. Currently, I use textarea type for this field, but I wonder if I should use textboxlist or any different kind (in other words, what is the best practice?).

My concerns are related with:
  • that I need to strike Enter button twice to display each item (each "feature" displayed in "feature" field) in new line,
  • will it be convenient to search for information in such field.

-- MateuszKDzior - 03 Jul 2015

Are you saying that you are current entering your list as one-item-per-line separated by a single return? I would say that it would definitely be a better practice to use textboxlist field type. It will make it easier both to enter data and for searching. If you look at the raw code of a data form with textboxlist, the list is stored simply as a comma-delineated list.

-- LynnwoodBrown - 17 Jul 2015
 

QuestionForm edit

Subject Topic Markup Language and applications
Extension RenderFormPlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r3 - 09 Sep 2015, MichaelDaum - This page was cached on 17 Jun 2018 - 23:06.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy