fix html 5 input validation in invoice_position