Alerts are shown through workflows.
Try this: When inputs value is changed → Show alert Only when (your condition)