• Resolved civilvicky

    (@civilvicky)


    I want to create a volume calculator. The users can select unit to insert number for each field.
    The volume should be calculated in cubic meters only, even if the choose to enter the length and width in meter and depth in inches.

    The page I need help with: [log in to see the link]

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

    (@codepeople)

    Hello @civilvicky

    If you have three fields, fieldname1, fieldname2, and fieldname3, you can insert a calculated field with the equation:

    fieldname1*fieldname2*fieldname3

    If every input field has associated a radio buttons or dropdown field with the measurement units, whose choices’ texts are the names of measurement units and their values the corresponding factor to convert from the corresponding measurement unit to meter. So, assuming these new fields are the fieldname4, fieldname5, and fieldname6, the previous equation must be edited as follows:

    fieldname1*fieldname4*fieldname2*fieldname5*fieldname3*fieldname6

    Best regards.

    Thread Starter civilvicky

    (@civilvicky)

    didn’t got it

    Plugin Author codepeople

    (@codepeople)

    Hello @civilvicky

    You don’t have entered any equation in the settings of the calculated field.

    You must enter the equation that calculates the volume through the “Set equation” attribute in the settings of the calculated field.

    Second, you must enter the conversion rate into the choices’ values of the dropdown fields.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘volume calculator’ is closed to new replies.