What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    I'm using the Configurable List widget to allow a user to add different

    Asked by BVHall on June 29, 2016 at 02:46 PM

    I'm using the Configurable List widget to allow a user to add different booking dates for a room.

    It simply displays the date to select, then the user clicks the + button to add another date and so on.

    What I then need to do is to count the number of dates added and multiply that by another field (the cost of a room) to give a total cost.

    What I cannot figure out is how to add up the number of dates entered by the user (ie if he has entered 5 different dates then I need to use the figure 5 to calculate the total cost).

    How can I do this please?

    This is a re-post of a comment on Form Calculation - Math Function Reference

  • Profile Image
    JotForm Support

    Answered by BJoanna on June 29, 2016 at 03:42 PM

    Unfortunately it is not possible to perform calculations with dynamic fields, such as Configurable List or Infinite List widgets.

    You can perform calculation with regular fields. You can also use fields such as Matrix field and Spreadsheet widget. However, this fields are not a dynamical and your users will not be able to add more fields.

    How to Perform Form Calculation in the Matrix Field?

    How to Perform Calculation in the Form?

    Hope this will help. Let us know if you need further assistance.