function uc_reports_products_custom_form_validate in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_reports/uc_reports.admin.inc \uc_reports_products_custom_form_validate()
- 7.3 uc_reports/uc_reports.admin.inc \uc_reports_products_custom_form_validate()
File
- uc_reports/
uc_reports.module, line 694 - Displays reports on sales, customers, and products to store admin
Code
function uc_reports_products_custom_form_validate($form_id, $form_values) {
if (empty($form_values['status'])) {
form_set_error('status', t('You must select at least one order status.'));
}
}