You are here

function commerce_coupon_form_validate in Commerce Coupon 7.2

Same name and namespace in other branches
  1. 7 includes/commerce_coupon_ui.forms.inc \commerce_coupon_form_validate()

Form validate callback: validate coupon entity form.

File

includes/commerce_coupon.admin.inc, line 231
Administrative forms and callbacks for Commerce Coupon.

Code

function commerce_coupon_form_validate($form, &$form_state) {
  field_attach_form_validate('commerce_coupon', $form_state['commerce_coupon'], $form, $form_state);
}