Count the number of rows in a Configurable List

  • tbawa
    Asked on August 2, 2015 at 12:01 PM

    Hi,

    I am facing the same problems as mentioned in http://www.jotform.com/answers/528656-How-to-count-the-number-of-entries-in-a-configurable_list, that is I need the number of rows to do a price calculation, and am wondering if there is a Javascript based solution?

     

    Normally I would try to write this myself but with the Configurable List widget being in its own iframe it seems tricky.

     

    I have seen that you guys use jQuery and I have some familiarity with it. So any tips how to possibly go about this?

     

    Thanks

     

     

     

     

  • jonathan
    Replied on August 2, 2015 at 4:31 PM

    I agree that having the widget on its own iframe is the tricky part. Even if you use the form's source code, it will not exposed the widget's source code.

    On normal source code embed, it is already possible to count the elements using the length() method of jquery.

    If there is a way for you to not use the widget, and instead use regular fields to dynamically add/remove rows using Condition Logic, I think it will be easier to count the rows added when using source code + javascript code.

    I also found a thread that could help in some way. On this thread, our colleague Abajan was able to come up with a solution that displays an increment number to the rows being added in the widget.

    For the meantime, I will submit this thread also to our higher team support as feature request ticket for the capability to count the number of rows being added on Configurable List Widgets

    We will contact you here for any news/updates on the status of the ticket submitted when available.

    Thanks.

     

     

  • tbawa
    Replied on August 2, 2015 at 8:50 PM

    Thank you for your response - as we need multiple input fields per row like this:

    Count the number of rows in a Configurable List Image 1 Screenshot 20

    Full form: https://secure.jotformpro.com/form/52134014904949

     

    and we need to calculate the total fee based on the number of teams nominated by that club I am not sure how to use another widget which can do that.

    Thanks

     

  • Chriistian Jotform Support
    Replied on August 3, 2015 at 2:44 AM

    Hi, 

    Unfortunately, there is no other way to do this currently. This feature has been escalated to our development team. We will inform you on this thread any updates on this feature.

     

    Regards.

  • Sgulechha
    Replied on August 3, 2015 at 2:54 AM

    is there any customer support number is available?

  • Chriistian Jotform Support
    Replied on August 3, 2015 at 4:21 AM

    Unfortunately, we do not offer phone support. We attend to user's concerns and questions regarding JotForm on this forum.