@krais38
Posted
Your input fields accept letters. In this case the input type should be "number" as you are working with years, amount and percentages. If you don't want to restrict your input type for some reason, you can use javascript check for onkeydown and check if the pressed key is a number and if not then you'd show an error state.
Marked as helpful