function remainingChars(input, maxlength) {
        var length = maxlength - inputLength(input);
        return length;
      }
Returns how many chars are left to complete the fill up of the form.

@param input
@param maxlength
@return {number}