updated formfield class again in if statemnt, hope this fixes logging of other value