added fields validation for all application so that we don't call the api if a fields is empty.