Add input validation for amount field