hide/show optional params based on the selected dataset type