Input Table: How to set up conditions based on options selected in the table?