How to Show a Text Based on the Date Difference in Jotform Tables?

  • joslrv
    Fecha de consulta 15 de agosto de 2023, 1:43

    como puedo hacer que en las tablas, pueda generar un alerta respecto a fechas, es decir una columna, por ejemplo, fechas de vencimiento de un producto que esta por vencerse en 30 días, que la alerta esta vinculada a la fecha inicial.


    Por ejemplo

    si ingreso un producto que tiene fecha de vencimiento el 18/08/2023, y quiero que en la tabla, con la información que fue ingresada previamente (2 meses antes), pueda verse una columna donde diga "Próximo a vencerse", siempre y cuando sea menos de un mes.


    espero su respuesta

  • Sheena Jotform Support
    Fecha de respuesta 15 de agosto de 2023, 7:49

    Hi joslrv,

    Thanks for reaching out to Jotform Support. Unfortunately, our Spanish Support Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know, and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Yes, this is possible. Let me show you how to set it up.

    1. First, add a column with the formula that will calculate the difference between the expiry and Today's date. How to Show a Text Based on the Date Difference in Jotform Tables? Image 1 Screenshot 30
    2. Now using the IF logic in Jotform Tables, we can add a formula that if the column under step 1 is less than 30, it will show a text.How to Show a Text Based on the Date Difference in Jotform Tables? Image 2 Screenshot 41

    I suggest looking into our guide about Using Advanced Formula in Jotform Tables.

    Give it a try, and let us know if you need any additional help.

  • joslrv
    Fecha de respuesta 15 de agosto de 2023, 11:55

    MUCHAS GRACIAS.

    ES POSIBLE CAMBIAR EL COLOR DE LA CELDA, ACORDE A LO QUE DICE LA CELDA

  • Alejandro Jotform Support
    Fecha de respuesta 15 de agosto de 2023, 15:28

    Hola Josafat,

    Gracias por contactarte con el Soporte de Jotform. He movido tu pregunta a un nuevo hilo para tratar los temas por separado. Puedes ver mi respuesta a través del siguiente enlace.

    No dudes en contactarnos si tienes cualquier otra pregunta.