Skip to Content
0
Former Member
Jun 18, 2009 at 12:36 PM

How to restrict number of character to be entered in an input field??????

321 Views

Hi All,

I am using the tab phtmlb:formLayoutInputField to define an input field. I need to restrict the end user from entering a maximum of 70 characters(can be any character/number) in the textbox.

I'll explain in another sentence:::: the end user should be able to enter only 70 characters in the textbox and 71st character should not be allowed to enter. Could anyone please suggest as to how I can achieve this?

Thanks a lot in advance,

Best Regards,

Varun