function uc_coupon_workflow_apply_form_alter in Ubercart Discount Coupons 7.3
Same name and namespace in other branches
- 7.2 uc_coupon_workflow/uc_coupon_workflow.rules.inc \uc_coupon_workflow_apply_form_alter()
Implementatino of 'form_alter' callback for the apply action. Change the select list to radio buttons.
File
- uc_coupon_workflow/
uc_coupon_workflow.rules.inc, line 332 - Rules integration for uc_coupon_workflow
Code
function uc_coupon_workflow_apply_form_alter(&$form, $form_state) {
$form['parameter']['mode']['settings']['mode']['#type'] = 'radios';
}