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

    Calculating a field with a minimum for answer?


      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




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




      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...