Hi Pragya,
I would change the validation on those two fields to be checked within a microflow triggered by clicking a save button, rather than on the entity or page as you may currently have it. Here’s some documentation on how to do that: https://docs.mendix.com/howto/data-models/setting-up-data-validation#5-advanced-validation-with-a-custom-save-button