    data['case-type'] = $('#case-type').val();

          var layout = $('#layout').val();
          if (layout == '') {
            $('#layout').addClass('ui-state-error');
            $('#layout').siblings('.error-msg').append('<div>Ummm, derp???  You need a layout in order to cut a plate.</div>');
            error_els.push('#layout');
            has_error = true;
          } else {
            try {
              data['layout'] = jsonl.parse("["+layout+"]");
            } catch(err) {
              $('