Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I used this with uc_coupon module. I posted issue on uc_coupon module and returned feedback and suggested to post here again.
http://drupal.org/node/1197392