done functions to test if field values are equal