46 lines
835 B
JSON
46 lines
835 B
JSON
[
|
|
{
|
|
"name": "email",
|
|
"type": "email",
|
|
"label": "Email",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "text",
|
|
"label": "Name",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "company",
|
|
"type": "text",
|
|
"label": "Company",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "groups",
|
|
"type": "select",
|
|
"label": "Groups",
|
|
"required": false,
|
|
"multiple": true,
|
|
"options": "rpc://listEmailGroups"
|
|
},
|
|
{
|
|
"name": "subscription",
|
|
"type": "select",
|
|
"label": "Subscription",
|
|
"required": false,
|
|
"default": "subscribed",
|
|
"options": [
|
|
{
|
|
"label": "Subscribed",
|
|
"value": "subscribed"
|
|
},
|
|
{
|
|
"label": "Unsubscribed",
|
|
"value": "unsubscribed"
|
|
}
|
|
],
|
|
"help": "Only add people who agreed to receive your emails."
|
|
}
|
|
]
|