<p><a href="https://github.com/jheretic"><img src="https://avatars.githubusercontent.com/u/1242268?" align="left" width="96" height="96" hspace="10" style="max-width:100%;"></a> <strong>Issue by <a href="https://github.com/jheretic">jheretic</a></strong><br><em>Tuesday Feb 25, 2014 at 19:18 GMT</em><br><em>Originally opened as <a href="https://github.com/opentechinstitute/commotion-lua-helpers/pull/5" class="issue-link" title="Fix validation of local application submissions that belong to more than one category.">opentechinstitute/commotion-lua-helpers#5</a></em></p>

<hr><p>Previously, the interface for adding an application failed when selecting more than one category for an application. This should fix the validation function that was causing the problem.</p>

<p>To test:<br>
1. click on Applications->Add after running through the setup wizard.<br>
2. Add an application and select more than one category for it (for instance both 'Community' and 'Fun').<br>
3. If you are able to submit the application and it returns you to the list of applications on this node, then this fix works.</p>

<hr><p><em><strong><a href="https://github.com/jheretic">jheretic</a></strong> included the following code: <a href="https://github.com/opentechinstitute/commotion-lua-helpers/pull/5/commits">https://github.com/opentechinstitute/commotion-lua-helpers/pull/5/commits</a></em></p>

<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/luci-commotion/issues/249">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODczMjU3NSwiZGF0YSI6eyJpZCI6MzQ5ODA1Mzh9fQ==--36cccc3b97543fd88e839402bf2434e3e07f816c.gif" width="1" /></p>