Add a formatter for initial values
Added min and max validation