¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha?

  • elimed
    Fecha de consulta 3 de diciembre de 2024, 14:41

    Hola buenas tardes, estoy quereindo hacer escatamenet esto que explicam aqui https://www.jotform.com/es/answers/4958778-como-puedo-establecer-maximo-3-dias-anteriores-para-reservar-fecha

    pero no me deja, me da Formato Invalido

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

    Cómo puedo hacer para realizarlo.


    Saludos!

  • Alejandro Jotform Support
    Fecha de respuesta 3 de diciembre de 2024, 17:47

    Hola Elimed,

    Gracias por contactarte con el Soporte de Jotform. Esto se debe a que has utilizado la palabra en español hoy, en lugar de la palabra en inglés today, que es la que funciona en este código. Te muestro:

    1. En el Creador de formularios, selecciona el elemento de fecha y haz clic en el icono de engranaje.
    2. Ve a la pestaña de Límites e ingresa como fecha de inicio today-3 en lugar de hoy-3.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

    Haz la prueba y no dudes en hacernos saber si tienes cualquier otra pregunta.

  • elimed
    Fecha de respuesta 4 de diciembre de 2024, 10:18

    Hola, lamentablemente no me deja.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

    El formulario donde estoy tratando de hacerlo es: https://www.jotform.com/build/242125123247648

    Quedo a la espera de tu respuesta.

    Saludos!

  • Cristy Jotform Support
    Fecha de respuesta 4 de diciembre de 2024, 13:08

    Hi elimed,

    Our Spanish Support agents are busy helping other Jotform users right now, so 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, it might take a while until they're available again.

    Now, coming back to your question, if I understood your issue, you wanted to set your form's date field to show three days in advance date? If so, this is possible by using the Form Calculation widget. Let me walk you through:

    1. In Form Builder, click on the Add Element button on the upper-left of the page.

    2. Go to the Widgets tab, then drag and drop the Form Calculation widget to add it to your form.

    3. On the calculation box on the right, click on the purple Function button and select addDays.

    4. Inside the bracket, add the Date Picker field, then comma then the number 3.

    5. Once it's set like the sample on the screencast below, click on the green Save button below the calculation box.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 40

    6. Rename the Form Calculation widget to avoid confusion.

    7. Lastly, hide the Date Picker field on your form by right-clicking it then select Hide.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 2 Screenshot 51

    That's it. Check out the screencast below for my result:

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 3 Screenshot 62

    Give it a try and let us know how it goes.

  • elimed
    Fecha de respuesta 4 de diciembre de 2024, 13:16

    eN REALIDAD LO QU E YO NECESITO ES QUE SEA TAL CUAL LA FUNCION QUE MUESTRAN AQUI https://www.jotform.com/es/answers/4958778-como-puedo-establecer-maximo-3-dias-anteriores-para-reservar-fecha Y QUE NO SÉ POR QUÉ MOTIVO NO LO HACE COMO LO EXPLICA AQUI Y ME DA ERROR.

  • Alejandro Jotform Support
    Fecha de respuesta 4 de diciembre de 2024, 14:06

    Hola elimed,

    Gracias por tu aclaración. Al hacer la prueba, habiendo configurado mi cuenta y formulario en español, pude ver que la etiqueta de today es cambiada a hoy automáticamente, y pude ver este error de formato inválido que nos muestras. Aunque después de hacer un cambio en la etiqueta manualmente, lo he podido configurar con éxito. Te explico como:

    1. En el Creador de formularios selecciona el elemento Selector de fechas, haz clic en el icono de engranaje y ve a la pestaña de Límites.
    2. Agrega la palabra today, y agrega el -3 a la derecha de la etiqueta que será cambiada a hoy.
    3. Luego selecciona la palabra hoy y cámbiala por la palabra today sin remover el -3 que le sigue.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

    En caso de que aún tengas inconvenientes para configurar esto, sería de gran ayuda si pudieras compartir una grabación de pantalla de lo que sucede cuando lo intentas configurar. Puedes hacerlo fácilmente usando Loom o compartiéndola en un enlace público de Google Drive. También necesitamos saber si nos das tu autorización para intentar configurar esto directamente en el campo de tu formulario, y de no poder hacerlo pasaremos tu caso a nuestros desarrolladores para que puedan revisarlo a fondo.

    Haz la prueba y no dudes en hacernos saber si necesitas más ayuda.

  • elimed
    Fecha de respuesta 4 de diciembre de 2024, 22:18

    Finalmente si puedo hacerlo, no me da mas el mensaje de error. sin embargo, no funciona, no m¡se me habilitan los 3 dias anteriores a la fecha del dia actual


  • Lorenz Jotform Support
    Fecha de respuesta 5 de diciembre de 2024, 4:12

    Hi elimed,

    Our Spanish Support agents are busy helping other Jotform users right now, we'll try to help you in English again, and you can reply in whichevery language you're comfortable using. If you wish to receive help in Spanish, let us know, so we can forward this to the relevant team.

    Now, coming back to your the issue, I can easily replicate it. For some reason, using the variable 'today-{n}' as start date, doesn't seem to work. But it does work when using plus sign, like 'today+{n}'.

    I've gone ahead and escalated this to our Developers, so they can check. Once we hear back from them, we'll circle back to you on this thread and let you know.

    Thanks for your patience and understanding, we appreciate it.

  • elimed
    Fecha de respuesta 5 de diciembre de 2024, 8:45

    Muchas gracias. Si, la funcion 'today+{n}' se ve correctamente, pero no la de today-{n}


    Saludos y espero su respuesta

  • Can Jotform Support
    Fecha de respuesta 15 de enero de 2025, 3:00

    Hi elimed,

    Our Spanish Support agents are busy helping other Jotform users right now, we'll try to help you in English again, and you can reply in whichevery language you're comfortable using. If you wish to receive help in Spanish, let us know, so we can forward this to the relevant team.

    The issue with the "today-{n}" option for the Date Picker has been resolved. You should now be able to use this feature using “today-{n}” or “today+{n}” without any problems.

    Give it a try and let us know how it goes.

  • elimed
    Fecha de respuesta 20 de enero de 2025, 13:01

    muchas gracias!!!

  • elimed
    Fecha de respuesta 5 de febrero de 2025, 9:52

    Hola, nuevamente no anda esta función. Acabo de hacerlo en otro formulario con today-7 pero no me habilita 7 dias anterios al día de hoy en el siguiente formulario: https://www.jotform.com/build/203428616313652

  • Cristy Jotform Support
    Fecha de respuesta 5 de febrero de 2025, 11:09

    Hi elimed,

    I cloned your form and tested it to see if I could replicate the issue, but everything was working properly. Check out the screencast below to see my results:

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

    I went ahead and cleared your form cache to removed any piled up data that might be causing this. Can you give it another try and let us know what happens? If you're still having the same issue, we'll do a more in-depth investigation and work on finding a solution.

    Keep us updated and let us know if you need any more help.

  • elimed
    Fecha de respuesta 5 de febrero de 2025, 14:21

    NO ES EN EL CAMPO FECHA DE NACIMINETO, ES EN EL CAMPO VIGENCIA DESDE:

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 20

  • Alejandro Jotform Support
    Fecha de respuesta 5 de febrero de 2025, 15:27

    Hola elimed,

    Al hacer unas pruebas en una clonación de tu formulario, pude ver que los días pasados no están habilitados en el campo de fecha, al habilitar los días pasados, ya te permitirá seleccionar las fechas anteriores a la actual. Te muestro:

    1. En el Creador de formularios, selecciona el elemento de fecha y haz clic en el icono de engranaje.
    2. Ve a la pestaña de Límites y en la sección de Pasado y futuro activa la opción de pasado.

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 1 Screenshot 30

    Aquí puedes ver el resultado:

    ¿Cómo puedo permitir máximo 3 días anteriores para reservar fecha? Image 2 Screenshot 41

    Haz la aprueba y no dudes en hacernos saber si necesitas más ayuda.