Format: | (:input type *list "<item>,<item>":) |
(:input type *list "<+item>,<-item>":) |
Requirements to Use: ZAP
Explanation: ZAP's list commands has two powerful functions. First, you can add or subtract individual items to the CSV list by using "+item" to add, "-item" to delete. ("+item,-item,+item" also allowed). Or just enter your own CSV list--just don't mix +/-'s with actual items.
ZAP can also accept form input arrays, by automatically converting them to a CSV list. For example, three checkboxes like the following will resolve to Field=value1,value2,value3.
(:input checkbox Field[] <value1>:)
See also the Listfmt? command extension, in ZAPextend, which allows you to transform a list into any kind of display you want. Very useful!