Adding 'case...when' statements to Input/Form and Input/Show