Multiselect in Impresspages Plugin Options -


how may use multiselect field in impresspages plugin options. this:

{         "label": "social nets",         "name": "socialnets",         "type": "select",         "multiple": "multiple",         "default": "",         "values": ["", "facebook", "twitter", "pintrest"] } 

of course, field above "multiple" doesn't work in code snip. so, how implement in plugin options json file?

you can use "checkboxes" field type

"options": [     {         "label": "xxx",         "name": "xxx",         "type": "checkboxes",         "values": ["option1", "option2", "options3", "option4"]     }  ] 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -