This sample registration form will validate all fields and will not let the form be submitted until all fields are properly filled out.