Shortened view size: Is it possible to set a different input size and view size of an InputField? For example 50 characters into input field (made by size=), but with only the first 10 characters of this input field to be visible?

Yes, use

InputField ... size=10 maxlength=50