form field functionality extended