client-side for issue #49 and validation against empty strings