|
@@ -234,7 +234,7 @@
|
234
|
234
|
return false;
|
235
|
235
|
}
|
236
|
236
|
if(findChildObject(form.elementAt(i), 'isDecaf').checked) {
|
237
|
|
- if(findChildObject(form.elementAt(i), 'decafEntry').currentText) {
|
|
237
|
+ if(findChildObject(form.elementAt(i), 'decafMethod').text == '') {
|
238
|
238
|
displayError(TTR("purchase", "Missing Input"),
|
239
|
239
|
TTR("purchase", "Decaffeination method is a required field for decaffeinated coffees."));
|
240
|
240
|
return false;
|