resolved packaging type as required

This commit is contained in:
Asif
2018-03-30 16:41:27 +08:00
parent 646b79044d
commit 9d7e1cb31c
4 changed files with 12 additions and 5 deletions
@@ -171,7 +171,12 @@ var TableDatatablesEditable = function() {
},
packaging_quantity: {
required: true,
},
packaging_type1:{
required: true,
},
messages: {
description: {
@@ -180,6 +185,7 @@ var TableDatatablesEditable = function() {
packaging_quantity: {
required: "You must choose package quantity to proceed",
},
},
@@ -212,7 +218,7 @@ var TableDatatablesEditable = function() {
.addClass('valid') // mark the current input as valid and display OK icon
.closest('.form-group').removeClass('has-error').addClass('has-success'); // set success class to the control group
}
}
}}
});
success.hide();
error.hide();