Just need to set a condition to make it not clickable like below.
Samson @ Plugin Developer Plugin Page Plugin Forum