Added client-side validation to case type field in the app_manager

This commit adds client-side validation to case_type, and if they attempt to save an invalid value anyways, it will be rejected by the server, and they'll see an alert that their form did not save.