Enable/disable some form elements based on run type