-Created function to control the "Max Registers" field exibition.