We have fields: currency, amount, customerId. Let's think that our users input currencies can be USD, GBP, EUR. For USD we have to check amount (should be less than 1000) and customerId by regex. For GBP we only check customerId by regex. For EUR we only check amount.
Is switch(currency) and if statements okay for checking validations?