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

  • fuerzasdeventasviajes
    Asked on May 14, 2015 at 4:57 AM
  • Boris
    Replied on May 14, 2015 at 5:41 AM

    Hello.

    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).

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

    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.

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

    Please take a look at the following demo form:

    http://form.jotformpro.com/form/51332516657960 (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.