Thank you so much. I have tried this as well but somehow it is not working. I am new to InfoPath. I have a form where there are two date fields & it will be used for saving exceptions for defects. Now I need to ensure that no one is able to enter any exception more than 7 days prior to current date(Today). Field 1 is today & Field 2 ...