Limits currency code to 3 digits

Added maxlength to the input field.