This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a form with 3 fields in a form, UserName, City, Country. Length of each field should not exceed 10 characters. If it exceeds it, the page should be reloaded with error message on the same line of the text box.