   toSend += ": server configured";
   toSend += pageTop2;
 
+  boolean cloudShare = false;
   for(uint8_t i = 0; i < webServer.args(); i++) {
     if(webServer.argName(i) == "svraddr") {
       svrAddr = webServer.arg(i);

    ssid.toCharArray(ssidchars, sizeof(ssid));
    key.toCharArray(keychars, sizeof(key));
    WiFi.begin(ssidchars, keychars);

    // TODO causes reset in /wifistatus
    /*
    if(WiFi.hostname("waterelf"))
      Serial.println("set hostname succeeded");
    else
      Serial.println("set hostname failed");
    */
  }

  toSend += pageFooter;

  f += "<br/>Local server IP address: ";
  f += "<input type='textarea' name='svraddr'><br/><br/> ";
  f += "Sharing on WeGrow.social: ";
  // TODO set checked dependent on getCloudShare()
  f += "on <input type='radio' name='wegrow' value='on' checked>\n";
  f += "off <input type='radio' name='wegrow' value='off'><br/><br/>\n";
  f += "<input type='submit' value='Submit'></form></p>";
