Adding ModelStateError if there is no input formatter selected.

is this temp/testing code?