Como puedo hacer que salte una alarma si el margen entre dos fechas aleatorias no es superior a 3 días?

  • Profile Image
    Asked on May 14, 2015 at 04:57 AM
  • Profile Image
    Answered on May 14, 2015 at 05:41 AM


    If I understand your requirement, you would like to show a warning message to the user if the difference between two data fields is less than 3.

    Yes, that is possible. You can add a Calculation Field to calculate the date difference.

    In the Calculation Wizard, you would need to add the ending date field minus the starting date field (marked 2 and 3 in the image below).

    You would also need to click on Show advanced options (4) and make sure it is marked Read Only (5).

    We would then add a condition using Conditional Logic, and set it so that it Show/Hide a form field and set it so that it displays the message when the day difference is less than 3.

    Please take a look at the following demo form: (You can clone it to take a closer look at how it was achieved.)

    Please let us know if you need any help in setting this up, and we will be happy to assist you.