add isRetrieved check to the html form helper class.