• Resolved sallam

    (@sallam)


    Hello
    I’m trying to make a simple calorie counter of about 200 food items, so that when the user enters the quantity of a given item, the corresponding calculated field displays the calories of the entered quantity. Is it possible for the 200 calculated fields to pull the values from a spreadsheet or a text file, instead of typing each single value in the 200 calculated fields?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @sallam

    The equations should be implemented directly through the forms’ builder, but the data of calories can be read from an external datasource, like a database or a CSV file. However, for reading the information from an external datasource, you will need the Developer or Platinum versions of the plugin for using the set of DS fields. More information in the following post of the plugin’s blog:

    https://cff.dwbooster.com/blog/2019/02/14/ds/?index=1

    Best regards.

    Thread Starter sallam

    (@sallam)

    Thanks for the prompt reply.
    OK, is it possible to clone calculated fields with an increment of the fieldname numbers ? for example when I clone a calculated field that has an equation like:

    prec(0.04*fieldname3)

    can the clones increment it to be:

    prec(0.04*fieldname4)
    prec(0.04*fieldname5)
    prec(0.04*fieldname6)

    Is that possible ?

    Plugin Author codepeople

    (@codepeople)

    Hello @sallam

    No, I’m sorry, the plugin cannot assume the reasons why you are duplicating the fields, so, you should duplicate the field, and edit the associated equation.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pulling values from file’ is closed to new replies.