Zend certified PHP/Magento developer

Coupon code should not apply if action condition fit or not discount happen

Please help me with this

There are conditions and Action tab in the coupon code add/edit page and there is a conditional option where we select on which product this code should apply or not like we set SKU or something or set condition buy x and get y for this much.

My question is how can a coupon code refuse to set if the discount is zero?

For now, the coupon code gets set but the discount won’t get so it makes little confusion for the users

Hoping for Good.
Thanks