{
  "sendresult": true,
  
  "process": {
    "enabled": true,
    "actions": [
       {"sqlid":"putinvestor", "idx":"investid"}
    ]
  },
    
  "email": {
    "enabled": true,
    "subject": "Baltic Wharf Investment",
    "from": "john@liburne.com",
    "template": "invest.html",
    "tomain": "email",
    "tolist": {
       "srctype" : "db",
       "src" : "addconsult"
    }
  },
  
  "form": {
    "enabled": true,
    "subtext": "Send your Expression of Interest",
    "subicon": "send",
    "fields": [
       [{ "id":"firstname",   "type":"input",    "prompt":"", "label":"First name",     "class":"validate required" },
       { "id":"lastname",     "type":"input",    "prompt":"",  "label":"Last name",      "class":"validate required" }],
       { "id":"organ",        "type":"input",    "prompt":"", "label":"Organisation",   "class":"validate" },
       { "id":"phone",        "type":"input",    "prompt":"", "label":"Phone",           "class":"validate required" },
       { "id":"email",        "type":"input",    "prompt":"", "label":"Email",          "class":"validate required" },
       { "id":"over18",       "type":"checkbox", "text":"Are you over 18?",   "label":"Over 18",       "class":"validate required" },
       { "id":"terms",        "type":"checkbox", "text":"Do you accept the terms?",   "label":"Terms",       "class":"validate required" },
       { "id":"notes",        "type":"text",     "prompt":"",    "label":"Add a comment",        "class":"validate" }
     ]
  }
}
