Coupon Code: compare entered value with value from database
I've applied a coupon code and would like to compare the value that has been entered by the customers via form field (and saved into a session variable) with a value from a database table instead of a manually entered value in the cart definition. Is that possible?