Plug-in to check if text fields are empty