Added properties to hide fields based on the page