Check closest form and empty element before submit if is the placeholder