added max for inputfields, android => Buttons, iOS => text