Skip to content

Instantly share code, notes, and snippets.

@kivi
kivi / collecttion-json-template-otpions.md
Created August 21, 2012 11:11
collection-json extension template options

Template Data Validation

Support template data options by adding property attribute with an array of prompt and value. Additionally add a muliple property, which indicates multiple values are suppored if set "true".

  1. Add an optional property to the data object: option (array of and object. prompt/value pair)
  2. Add an optional property to the data object: multiple (boolean). This property has no impact if option property is not set.
{ "collection" :