created distinction between text and choicefields.