I need to check that two conditions are both true before enabling a button:
Here is an example:
You can try something like this.
Its working fine for me.