Set min and Max value of a slider based on value of other field