simple currency validation on an input field