Maximum lengths set to text fields to prevent too long text input.