4 Replies Latest reply on Mar 21, 2011 4:38 PM by tom.beyerdesign

    Calculating a field with a minimum for answer?

    tom.beyerdesign

      Hello all -

       

      I have a product that costs $22 per thousand. I have a field for quantity, and a total field.

       

      Right now I have it set up like this:

       

      Field 1: "Qty 3" - customer enters desired qty

       

      x

       

      Field 2: "22" - hidden, used for multiplier

       

      x

       

      Field 3: "001" - hidden, .001 used for multiplier to give total price.

       

       

      My problem is that the minimum price is always $22. How do I make the total say: "If total is < or = 22, then 22. Else, Total."

      Thanks. No idea about javascript...