Cleaned up UI for multivalue string and number fields
Detect invalid field types, fixes #640