<p>Closes <a href="https://github.com/opentechinstitute/commotion-dashboard-helper/issues/16" class="issue-link" title="Dashboard form throws error if you don't specify http[s]">#16</a> </p>

<p>Was expecting wrong validation response in L82 of bigboard-conf.lua.<br>
Also cleaned up duplicate debugger import and log statements.</p>

<p>To test, <br>
1. Enable bigboard send (Advanced > BigBoard Configuration) and enter a hostname or IP address in the form field. The form should save with no errors.<br>
2. Enter an invalid hostname/IP address. Save should reject with an error.<br>
3. Disable bigboard and save, then re-enable. The form field should read "x.x.x.x"</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotion-dashboard-helper input-validation</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17'>https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Expected wrong return value on validate</li>
  <li>Cleaned up logger import</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17/files#diff-0">luasrc/controller/commotion-dash/bigboard-conf.lua</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17.patch'>https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17.diff'>https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-dashboard-helper/pull/17'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwOTc0ODQ0MSwiZGF0YSI6eyJpZCI6MjcxMTkyMTN9fQ==--21e9359306d50904dc3e627b27a2314b458cb4b5.gif' height='1' width='1'></p>