¿Cómo cambiar el formato fecha para que solo salga el mes y el año?

  • proelsitax
    Fecha de consulta 1 de mayo de 2024, 16:15

    Como puedo cambiar el formato fecha para que solo salga el mes y el ano?

  • Rene Jotform Support
    Fecha de respuesta 1 de mayo de 2024, 20:51

    Hi proelsitax,

    Thanks for reaching out to Jotform Support. Unfortunately, our Spanish 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, coming back to your question, are you referring to the birthdate field of this form? If so, unfortunately, it isn't currently possible to only select the year and months using the Date Picker element. As a workaround, you can use the dropdown element predefined options for years and months. Here's an example result:

    ¿Cómo cambiar el formato fecha para que solo salga el mes y el año? Image 1 Screenshot 50

    If this works for you, let me show you how to set this up:

    1. In Form Builder, click or drag a Dropdown element into the form.
    2. Hover over to the added dropdown field and then click the Gear icon.
    3. On the Dropdown Properties panel on the right, click on the Options tab.
    4. Hover over to the Predefined Options and then select the Last 100 Years option.

    ¿Cómo cambiar el formato fecha para que solo salga el mes y el año? Image 2 Screenshot 61

    5. Next, click on the Advanced tab.

    6. Enable the Shrink feature.

    ¿Cómo cambiar el formato fecha para que solo salga el mes y el año? Image 3 Screenshot 72

    That's it. The same process goes to the Birth Month field using the Months option of the Predefined options feature:

    ¿Cómo cambiar el formato fecha para que solo salga el mes y el año? Image 4 Screenshot 83

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