Cómo contar el número de filas agregadas en un widget de lista configurable

  • fedequinas
    Fecha de consulta 24 de enero de 2025, 13:55

    Buen dia

    Quisiera saber, si es posible enumerar o colocar un contador en una lista configurable?

  • Rhina Jotform Support
    Fecha de respuesta 24 de enero de 2025, 14:54

    Hi fedequinas,

    Thanks for reaching out to Jotform Support. 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, I'll need a bit more time to check on this. I'll get back to you as soon as I have an update.

    Thanks for your patience, we appreciate it.

  • Rhina Jotform Support
    Fecha de respuesta 24 de enero de 2025, 15:15

    Hi fedequinas,

    To clarify, are you referring to this form? Also, are you referring to counting the total number of rows added on the configurable list to the form? Unfortunately, this is not currently a direct available feature. As a workaround, you can consider adding a date on your configurable list asking the user for the date today. You can then add Day:static:1 then add the Form calculation widget to calculate the total number of days. Let me show you how: 

    First, add the Date field and Day:static:1 on your Configurable list.

    1. In Form Builder, click on the Wand Icon on the right side of the Configurable list widget.

    2. In the menu on the right side of the page add the following field configurations:

    Calendar : dateInput : m/d/y
    Day:static:1

    3. Click on Update.

    Cómo contar el número de filas agregadas en un widget de lista configurable Image 1 Screenshot 30 You can then add the Form calculation widget to calculate the number of dates entered:

    1. In Form Builder, click on the Add Form Element menu on the left side of the page.

    2. Under the Widgets tab, select or drag and drop the Form Calculation widget to add it to the form. 

    3. Click on the Wand Icon on the right side of the Form calculation widget.

    4. In the menu on the right side of the page, click on Add field and select the Configurable List element.

    5. Make sure to click on Save.

    Cómo contar el número de filas agregadas en un widget de lista configurable Image 2 Screenshot 41 You can check out the sample form here to see how it works. If that's not what you're referring to, can you explain a bit more so we can better understand the requirement?

    Once we have a better idea of what’s going on, we’ll be able to come up with a solution.